[jboss-jira] [JBoss JIRA] (WFLY-1961) jboss-cli.sh exit status to reflect commands status
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Tue Aug 27 11:19:26 EDT 2013
[ https://issues.jboss.org/browse/WFLY-1961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799642#comment-12799642 ]
Alexey Loubyansky commented on WFLY-1961:
-----------------------------------------
It does that, actually. How can it be reproduced?
> 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
More information about the jboss-jira
mailing list