We are using Liquibase 3.6.3 version
We are running SQL upgrade scripts using liquibase on the SQL Server Database using liquibase.bat(which we got as part of installation) as below on our local windows machines. This is working as expected.
Command:
liquibase.bat --changeLogFile=..\MasterChangelog.xml --driver==com.microsoft.sqlserver.jdbc.SQLServerDriver --classpath=sqljdbc4-3.0.jar --url="jdbc:sqlserver://;databaseName=MyDB;user=MyUser;password=MyPassword;" --logLevel=INFO update
Now our requirement is to achieve the same through Jenkins as we are currently moving towards AWS.
Questions:
• Do we have any supported liquibase plugins for Jenkins ?
• Do we have any bash supported scripts something which will behave same as liquibase.bat
• Do we have any shell command snippets to execute liquibase scripts on Jenkins?
• Any script snippets so that we can use them in Jenkins pipeline
Is there any other way of achieving this?