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

Pipeline sh invocations run on noexec mounted filesystems will silently fail

      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

          [JENKINS-55946] Pipeline sh invocations run on noexec mounted filesystems will silently fail

          Mark Waite added a comment -

          Authenticated checkout with the git plugin also frequently fails on file systems that are mounted with the noexec option. See the following issues for more information

          Mark Waite added a comment - Authenticated checkout with the git plugin also frequently fails on file systems that are mounted with the noexec option. See the following issues for more information JENKINS-26993 JENKINS-44951 JENKINS-50471

            Unassigned Unassigned
            witokondoria Javier Delgado
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: