Skip to content

prospero238/liquibase-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Jenkins Liquibase Plugin

About

Adds Liquibase as an available build step. See Liquibase documentation at http://www.liquibase.org/.

Installation

  • Install the liquibase-runner plugin.
  • Install liquibase on the server where your job will run, including any database driver.
  • Create an empty version of your database on the target server.

Configuration

  • Add your liquibase installation in Manage Jenkins -> Configure System. Note that the jar file containing your database driver should be located in LIQUIBASE_HOME/lib.
  • Once defined, you may select "Invoke Liquibase" as the step for any Jenkins Job.

Tips for use

  • Liquibase's "updateTestingRollback" is the recommended command to use, as it will execute rollback routines in addition to pending changesets.
  • You can use the "dbDoc" command to generate Liquibase's javadoc-like documentation and use the JavaDoc plugin to publish it.

About

jenkins-liquibase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages