Can I add changelog property to liquibase.properties file?

this is my liquibase.properties file:

#Liquibase.properties
driver: oracle.jdbc.OracleDriver
classpath: ojdbc7.jar
url: jdbc:oracle:thin:@10.0.2.1:1521:mydb
username: USER
password: pswd
this is my command:

liquibase
–changeLogFile results/changelog.xml --logLevel debug
-Dconnection_string=“USER/pswd@mydb” update
I would like to use command like this:

liquibase
–changeLogFile results/changelog.xml --logLevel debug update

So i need add connection_string property to liquibase.properties file. Any idea?



I need connection_string property, because i have executeCommand tag in my changeset:





I had the same requirement, and after looking at the source code, I
found out that this is possible if the property key is prefixed with “parameter”:



#Liquibase.properties
driver: oracle.jdbc.OracleDriver
classpath: ojdbc7.jar
url: jdbc:oracle:thin:@10.0.2.1:1521:mydb
username: USER
password: pswd

parameter.connection_string: user/pswd@mydb