I have used the relative paths for the changelog and also specified the searchPath while running the liquibase from CLI, something similar to below
${JAVA_HOME}/bin/java -cp ${CLASSPATH} liquibase.integration.commandline.Main
–searchPath=example/fileloc
–changeLogFile=liquibase/changelog.xml
–url="jdbc:postgresql://{hostname}:port/name
–classpath={postgresJar}:{resource_dir}
–username=user
–password==password}
–logLevel=info
update
I can see logs where the changelog.xml is picked and the respective changesets are being executed including the sql files within it, but no change is reflected in DB.
Compared it with 3.6.2 execution, where I could see schemas being created and the databasechangelog has the history of recent execution unlike the 4.18 which has just old entry of changelog execution.