Unmanaged shell scripts are run with the -e and -u options to exit on errors and exit on undefined. Managed scripts should follow the same excellent practice.

      workaround: #!/bin/sh -eu

          [JENKINS-32813] managed shell scripts are run without -eu

          Mike Duigou created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168479 ] New: JNJira + In-Review [ 183151 ]

            domi Dominik Bartholdi
            bondolo Mike Duigou
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: