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): How reproducible: Moderate, always Steps to Reproduce: 1. Create a jenkins task that runs zanata-cli pull 2. Run the jenkins task 3. View console output Actual results: Output includes the line: [ERROR] Execution failed: console not available: please run Maven from a console, or use batch mode option (-B) Expected results: [ERROR] Execution failed: console not available: please run zanata-cli from a console, or add batch mode option (-B) before the sub-command Additional info:
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