Pipeline sh invocations run on noexec mounted filesystems will silently fail

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Pipeline jobs might (probably) invoke an sh step.
      Such step are including a shebang on the underlying script.
      Such shebang caused the script to be mode changed to executable.
      These "executables", when written on a mounted filesystem with the noexec flag, become non-executable, causing a not obvious failure (in fact, no error is shown beyond a non executing step).

      Replacing the bare executable script with a call to the runner defined at the shebang, avoids this situation

            Assignee:
            Unassigned
            Reporter:
            Javier Delgado
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: