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

Configurable relativePath within the Disk Pool for a job

XMLWordPrintable

    • [GSoC] Sprint 1, [GSoC] Sprint 2

      When allocating the workspace using exwsAllocate step, provide a unique workspace for each Pull Request. So the allocated workspace path on the disk shall be like: $physicalPathOnDisk/$jobName/$pullRequestNumber/$buildNumber

      Additional details.

      • The relative path is configurable within Build DSL
      • [Nice2have]: Be able to specify path in the template. Maybe complicated, because for template we may need to resolve build environment variables
      • Workspace cleanup should work properly with such workspaces
      • Plugin should prevent workspace collisions (for example $physicalPathOnDisk/$jobName/A and $physicalPathOnDisk/$jobName/A/B)

      Reference: https://github.com/martinda/external-workspace-manager/blob/master/README.md#advanced-usage-git-pull-request

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

              Created:
              Updated:
              Resolved: