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

Multibranch-Multiconfiguration project workspace path not following folder structure layout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: branch-api-plugin
    • Labels:
      None
    • Environment:
      Branch API Plugin 1.11
    • Similar Issues:

      Description

      Starting from Branch API Plugin ver. 1.11,
      the workspace paths are all moved to top level under the node's workspace directory.
      This breaks the layout of jobs under CloudBees Folders Plugin.

      Another downside is I have about 2000+ multibranch branch jobs
      spread across different multibranch jobs and folders.
      This means I'll get 2000+ folders right under the single node's workspace directory.

      eg.
      /jenkins_slave/workspace/Test/Test-Multi/trunk/
      /jenkins_slave/workspace/Test_Test-Multi_trunk-IUMOWUQRUH5TKVIRME7LH55RHUW53YREWPROXXNXXAL3DYASUA5A

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          Yes, as designed.

          Show
          jglick Jesse Glick added a comment - Yes, as designed.
          Hide
          totoroliu Rick Liu added a comment -

          Any reason why we changed to this way?
          Is it possible to make it configurable? (to choose old way and new way)

          Show
          totoroliu Rick Liu added a comment - Any reason why we changed to this way? Is it possible to make it configurable? (to choose old way and new way)
          Hide
          jglick Jesse Glick added a comment -

          see release notes, and yes it is configurable

          Show
          jglick Jesse Glick added a comment - see release notes, and yes it is configurable
          Hide
          totoroliu Rick Liu added a comment -

          Where's the release notes?
          I checked both Wiki page (https://wiki.jenkins-ci.org/display/JENKINS/Branch+API+Plugin) and Github sources (https://github.com/jenkinsci/branch-api-plugin/tree/branch-api-1.11),
          and I don't see release notes.
          The closest thing I find is the "Version History" section on Wiki page,
          but it has 2 lines only for Version 1.11.

          And where's the configurable place?
          I searched "Manage Jenkins / Configure System" page,
          but I can't find anything related to multibranch workspace.

          Show
          totoroliu Rick Liu added a comment - Where's the release notes? I checked both Wiki page ( https://wiki.jenkins-ci.org/display/JENKINS/Branch+API+Plugin ) and Github sources ( https://github.com/jenkinsci/branch-api-plugin/tree/branch-api-1.11 ), and I don't see release notes. The closest thing I find is the "Version History" section on Wiki page, but it has 2 lines only for Version 1.11. And where's the configurable place? I searched "Manage Jenkins / Configure System" page, but I can't find anything related to multibranch workspace.
          Hide
          jglick Jesse Glick added a comment -

          configurable via system property, see version history of branch-api

          Show
          jglick Jesse Glick added a comment - configurable via system property, see version history of branch-api

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              totoroliu Rick Liu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: