Adds Flyway as an available build step. See Flyway documentation at https://flywaydb.org/documentation/
Use Jenkins credentials support, in next release passing username & password as plain text will be removed.
Install the flyway-runner plugin.
Install flyway on the server where your job will run, including any database driver.
Add your Flyway installation in Manage Jenkins -> Configure System.
Note that the jar file containing your database driver should be located in FLYWAY_HOME/lib.
Once defined, you may select "Invoke Flyway" as the step for any Jenkins Job.
Release 1.5 (3 October 2016)
- Fixed null pointer exception when passing folder level credentials.
Release 1.4 (28 July 2016)
- Added Credentials plugin support to enter database credentials.