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

Configurable relativePath within the Disk Pool for a job

    • [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

          [JENKINS-35975] Configurable relativePath within the Disk Pool for a job

          Alexandru Somai created issue -
          Alexandru Somai made changes -
          Epic Link New: JENKINS-35971 [ 171914 ]
          Alexandru Somai made changes -
          Description Original: 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/$buildNumber/$pullRequestNumber}}

          Additional details TBD.

          Reference: https://github.com/martinda/external-workspace-manager/blob/master/README.md#advanced-usage-git-pull-request
          New: 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/$pullRequestNumber/$jobName/$buildNumber}}

          Additional details TBD.

          Reference: https://github.com/martinda/external-workspace-manager/blob/master/README.md#advanced-usage-git-pull-request
          Alexandru Somai made changes -
          Description Original: 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/$pullRequestNumber/$jobName/$buildNumber}}

          Additional details TBD.

          Reference: https://github.com/martinda/external-workspace-manager/blob/master/README.md#advanced-usage-git-pull-request
          New: 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 TBD.

          Reference: https://github.com/martinda/external-workspace-manager/blob/master/README.md#advanced-usage-git-pull-request
          Oleg Nenashev made changes -
          Summary Original: Git pull request for the external workspace manager New: Configurable relativePath within the Disk Pool for a job
          Oleg Nenashev made changes -
          Description Original: 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 TBD.

          Reference: https://github.com/martinda/external-workspace-manager/blob/master/README.md#advanced-usage-git-pull-request
          New: 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
          Alexandru Somai made changes -
          Rank New: Ranked higher
          Alexandru Somai made changes -
          Sprint New: [GSoC] Sprint 1 [ 81 ]
          Alexandru Somai made changes -
          Rank New: Ranked lower
          Alexandru Somai made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

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

              Created:
              Updated:
              Resolved: