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

Cannot pass more than one context with Gradle Plugin #118

Open
Djimi opened this issue Apr 5, 2023 · 0 comments
Open

Cannot pass more than one context with Gradle Plugin #118

Djimi opened this issue Apr 5, 2023 · 0 comments

Comments

@Djimi
Copy link

Djimi commented Apr 5, 2023

Hi, I have an issue when I try to run liquibase command and specify more than one context.

For example:

gradlew -PliquibaseExtraArgs="contexts=test,default" db-migration-tool:updateSQL

throws me that exception:

* What went wrong:
Execution failed for task ':db-migration-tool:updateSql'.
> 1

When I run this wich --stacktrace option I can see that there is IndexOutOfBoundException. I guess the issue is that it thinks that after test context it will get another property while it is part of the contexts property.
Is there a workaround this? I cannot find any information in the documentation of the plugin (only that spaces are not allowed).

Thank in advance!

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