Options

Flyway command is recognized on Windows terminal but not on Azure pipeline

JesusBJesusB Posts: 1 New member
edited May 31, 2023 4:37PM in Flyway (General Discussion)
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.

Tagged:

Answers

  • Options
    Hello JesusB,

    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.
    Kind regards
    Peter Laws | Redgate Software
    Have you visited our Help Center?

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file