Flyway command is recognized on Windows terminal but not on Azure pipeline
JesusB
Posts: 1 New member
My Azure pipeline tried running flyway but it had threw an error: "Flyway is not recognized as an internal or external command, operable program or batch file."
I am able to run flyway on the terminal in the build agent computer but not through Azure.
I set the PATH variable to C:\Flyway\flyway-9.17.0\.
I've attached the flyway.conf file and logs from the run.
I am able to run flyway on the terminal in the build agent computer but not through Azure.
I set the PATH variable to C:\Flyway\flyway-9.17.0\.
I've attached the flyway.conf file and logs from the run.
Answers
Is the Path environmental variable a user one or a system one please?
The execution context (your user and the build agent account) may be different, which could account for the difference.