forked from prospero238/liquibase-runner
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JENKINS-23908 - created external invoker
Creation of additional type of build step. added docs explaining difference. many classes moved between packages
- Loading branch information
1 parent
ceb9be7
commit b4ce408
Showing
17 changed files
with
423 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,39 @@ | ||
Jenkins Liquibase Plugin | ||
================= | ||
# Jenkins Liquibase Plugin | ||
--- | ||
|
||
# About | ||
|
||
About | ||
----- | ||
Adds Liquibase as an available build step. See Liquibase documentation at http://www.liquibase.org/. | ||
|
||
Installation | ||
---- | ||
# Installation | ||
|
||
* Install the liquibase-runner plugin. | ||
* Create an empty version of your database on the target server (if applicable). | ||
|
||
|
||
Configuration | ||
---- | ||
# Configuration | ||
|
||
## "Execute" versus "Invoke" | ||
|
||
There are two ways of using this plugin, distinguished by "Execute Liquibase" versus "Invoke Liquibase" | ||
|
||
**Execute** | ||
|
||
Use this build step if you have an existing liquibase installation and wish to have it run just as if you were doing so | ||
from command line. The build's console log will contain the stdout/stderr output of liquibase. | ||
|
||
**Invoke** | ||
|
||
The "Invoke Liquibase" build step runs liquibase internally and doesn't require an existing installation. Furthermore, | ||
any changesets executed during the build are reported. | ||
|
||
# The Future | ||
|
||
I'd like to minimize the difference between "Invoke" and "Execute" and have changesets be reported in both types of | ||
build steps. | ||
|
||
|
||
|
||
|
||
* Select "Invoke Liquibase" as the step for any Jenkins Job. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 0 additions & 60 deletions
60
src/main/java/org/jenkinsci/plugins/liquibase/builder/Invoker.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.