Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32813

managed shell scripts are run without -eu

XMLWordPrintable

      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

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

              Created:
              Updated: