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

Copy the external workspace

XMLWordPrintable

      By default, this plugin allows a job to run using another job's workspace. However, there are cases where taking a copy of the other job workspace is preferable. In this case, the user can specify an extra parameter to the exwsAllocate step: copy: true

      e.g.: def workspace = exwsAllocate upstream: 'upstream-job', copy: true

      When a copy is made, the workspace path is simply named after the current job (not the upstream job) rather than after the upstream job, and the build number is the current build number rather than the upstream build number.

      Reference: https://github.com/martinda/external-workspace-manager/blob/master/README.md#copying-the-workspace

            alexsomai Alexandru Somai
            alexsomai Alexandru Somai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: