Adds Flyway as an available build step. See Flyway documentation at https://flywaydb.org/documentation/
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.