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

Pass value to liquidbase command #19

Closed
stanislasbonifetto opened this issue Aug 24, 2014 · 1 comment
Closed

Pass value to liquidbase command #19

stanislasbonifetto opened this issue Aug 24, 2014 · 1 comment

Comments

@stanislasbonifetto
Copy link

How to pass a command value like to the rollbackCount?

I have execute a gradle command line like so but it didn't work.
gradle -b database.gradle rollbackCount -PlilquibaseCommandValue=1
:rollbackCount FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':rollbackCount'.

    The Liquibase 'rollbackCount' command requires a value

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 3.877 secs

You have any idea why?

thanks

@stevesaliman
Copy link
Collaborator

I think the issue stems from a typo in the README. The property used to pass values to Liquibase commands is liquibaseCommandValue. The README file had an extra "l" in it.

Thanks for catching this,

Steve

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

2 participants