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

Multibranch-Multiconfiguration project workspace path not following folder structure layout

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • branch-api-plugin
    • None
    • Branch API Plugin 1.11

      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

          [JENKINS-39251] Multibranch-Multiconfiguration project workspace path not following folder structure layout

          Jesse Glick added a comment -

          Yes, as designed.

          Jesse Glick added a comment - Yes, as designed.

          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)

          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)

          Jesse Glick added a comment -

          see release notes, and yes it is configurable

          Jesse Glick added a comment - see release notes, and yes it is configurable

          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.

          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.

          Jesse Glick added a comment -

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

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

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

              Created:
              Updated:
              Resolved: