Hi All,
We are using liquibase for database updation in deployment pipeline with Ant script. Existing version of liquibase-core jar file is 3.8.3 and i want to upgrade to 4.17.2. I put updated version into C:\Installations\apache-ant-1.9.4-bin\apache-ant-1.9.4\lib folder and replace the version in liquibase-build.xml file which is in jenkins_files/ant_script/liquibase-build.xml file.
After the above upgrade i run the process then it is giving below error:
"
update-database:
BUILD FAILED
D:\repos\testdomainhorzion1_diageotest_com7470\scripts\rollout\liquibase-build.xml:34: updateDatabase doesn’t support the “driver” attribute"
Total time: 0 seconds
Build step ‘Conditional steps (multiple)’ marked build as failure
Performing Post build task…
Could not match :liquibase.exception : False
Could not match :Build step ‘Execute Windows batch command’ marked build as failure : False
Could not match :UnexpectedLiquibaseException : False
Logical operation result is FALSE
Skipping script : For /F “tokens=1* delims==” %%A IN (postbuild-properties.properties) DO (
IF “%%A”==“serverip” set serverip=%%B
IF “%%A”==“user” set user=%%B
IF “%%A”==“project” set project=%%B
IF “%%A”==“dbport” set dbport=%%B
IF “%%A”==“dbip” set dbip=%%B
IF “%%A”==“dbname” set dbname=%%B
IF “%%A”==“dbadminuser” set dbadminuser=%%B
IF “%%A”==“dbadminpass” set dbadminpass=%%B
)
Please suggest how to solve this issue as liquibase doesnot support updateDatabase property.
“”
Thanks,
Abhishek