Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13070

CLI batch should support fail-fast mode

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 13.0.0.Dev01
    • CLI
    • None
    • Undefined

      Currently CLI batch files do not fail if a command is valid (i.e. command exists), but fails on the server side. For example, a `cache drop` operation on a non-existant cachce will result in a stderr message being displayed but the batch will succeed and the cli returns with a zero exit code.

      It should be possible for a user to configure this behaviour using a mechanism similar to bash's `set -e` option.

            remerson@redhat.com Ryan Emerson
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: