Git plugin fails with ReadonlyRootFilesystem when tmp is mounted as noexec

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

XMLWordPrintable

      I have deployed the Jenkins container in 
      ReadonlyRootFilesystem and Tmpfs the /tmp in cloud formation as below. 
                              "LinuxParameters" : {
                                  "Tmpfs": [
                                     

      {                                   "ContainerPath": "/tmp",                                   "Size": 2048                                 }

      ,
                                     

      {                                   "ContainerPath": "/run",                                   "Size": 2048                                 }

                                    ]
                              }
      But while running the git operation, the git plugin fails with an error 
      stderr: fatal: cannot exec '/tmp/jenkins-gitclient-pass274502099295752631.sh': Permission denied

      We use a Jenkins instance in a Docker container in version 2.387.1

      I done a online research and didn't found any solution for this
       

            Assignee:
            Unassigned
            Reporter:
            Anish
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: