Red Hat Bugzilla – Bug 1030151
zanata-cli: Error message should not mention Maven
Last modified: 2015-07-28 23:29:33 EDT
Description of problem:
When running a push or pull with zanata-cli in a Jenkins job, if batch mode is not specified there is an error when user input is required. The error text mentions Maven, but zanata-cli is not run from Maven.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a jenkins task that runs zanata-cli pull
2. Run the jenkins task
3. View console output
Output includes the line:
[ERROR] Execution failed: console not available: please run Maven from a console, or use batch mode option (-B)
[ERROR] Execution failed: console not available: please run zanata-cli from a console, or add batch mode option (-B) before the sub-command
How about this for Expected results? :
[ERROR] Execution failed: console not available: please run the client from a console, or use batch mode option (-B).
I'd rather we fixed zanata-cli so that the help didn't suggest -B was allowed after the subcommand, than go to the trouble of customising this error message for Maven vs zanata-cli.
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-293