Hi,
We having been using liquibase for our database refactoring using ant build/deployments through Jenkins on a Build Flow Plan. Build Flow plan would trigger another plan which invokes ant liquibase deployment. We haven't simplified it for a long time.
Now we are trying to simplify the same using one plan to deploy database changesets. We have been successfully able to load liquibase jar and ojdbc connector and invoke liquibase update but it doesnt do any changeset deployment. We tested using on empty database as well. But no success.
Following are the details.
Jenkins Workspace: /var/lib/jenkins/workspace/test_new_liquibase
Database Code Directory: /var/lib/jenkins/workspace/test_new_liquibase/_database_
Above folder have multiple folder structures representing individual schemas and has its changelog,xml
For example:
Schema Name: scott
Database Code Directory: /var/lib/jenkins/workspace/test_new_liquibase/_database_/scott
changelog file: /var/lib/jenkins/workspace/test_new_liquibase/_database_/scott/changelog.xml
We are doing following set of functions before invoking liquibase update method.
DEBUG 7/12/17 7:16 PM: liquibase: Executing QUERY database command: SELECT * FROM scott.DATABASECHANGELOG ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
From Jenkins plan no debug messages.
Are we missing any steps?
Appreciate your time.
Thanks