Provide way to disable mounting Jenkins workspace

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

XMLWordPrintable

      Currently the Jenkins workspace is always mounted. This might not be desirable in all cases (such as JENKINS-74912). It also prevents users from using their own workdir parameter.

      Provide a way do disable the default mounting of the workspace. Example:

      docker.image('myregistry.com/myrepository/myimage:latest').inside(mountWorkspace=false) {
          bat 'echo test'
      }
      

            Assignee:
            Unassigned
            Reporter:
            Mark R
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: