Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1961

jboss-cli.sh exit status to reflect commands status

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8.0.0.Alpha4
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                aloubyansky Oleksiy Lubyanskyy
                Reporter:
                akostadinov Aleksandar Kostadinov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: