Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing support for change log properties via the command line #6

Open
JaapOudejans opened this issue Feb 4, 2019 · 0 comments
Open

Comments

@JaapOudejans
Copy link

Would it be possible to also support the Change logs property substitution via the command line? In our setup we have a property that changes every deployment (restore point name) which currently requires us to update the liquibase properties file every deployment (1 change value in dictionary; 2 update liquibase runner; 3 deploy latest change sets). It's not a lot of work but it would make our OPS team very happy if we could simplify the process.

For example:
Liquibase change log properties: -Dmy.property.name=our_value "-Dmy.other.value=other value with spaces"

This would result in the following command being executed (example values):

java -jar liquibase.jar \
      --driver=oracle.jdbc.OracleDriver \
      --classpath=\path\to\classes:jdbcdriver.jar \
      --changeLogFile=com/example/db.changelog.xml \
      --url="jdbc:oracle:thin:@localhost:1521:oracle" \
      --username=scott \
      --password=tiger \
      update
      -Dmy.property.name=our_value
      "-Dmy.other.value=other value"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant