[
https://issues.jboss.org/browse/WFLY-1961?page=com.atlassian.jira.plugin....
]
Aleksandar Kostadinov closed WFLY-1961.
---------------------------------------
Resolution: Cannot Reproduce Bug
Excuse me, I must have some issue with scripts because it works nice trying it manually.
jboss-cli.sh exit status to reflect commands status
---------------------------------------------------
Key: WFLY-1961
URL:
https://issues.jboss.org/browse/WFLY-1961
Project: WildFly
Issue Type: Feature Request
Components: CLI
Affects Versions: 8.0.0.Alpha4
Reporter: Aleksandar Kostadinov
Assignee: Alexey Loubyansky
Labels: cli, scripts, shell
jboss-cli.sh should exit with non-zero exit code when commands passed through it have had
any failures.
It's good to have a mode where it fails on the first failed CLI command. (like `sh
-e`).
At the moment it exits always with `0` so shell doesn't know if there have been any
errors executing the commands or not. This will greatly help scripting with jboss-cli.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira