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

Please add support for Cloudbees folder structure

      We are using Cloudbees folders. I tried using the Build Pipeline plugin. I'm able to select my job from the drop-down, but the pipeline view does not show any of the downstream jobs, unless I create all the jobs at the base level (not in a folder).

          [JENKINS-14565] Please add support for Cloudbees folder structure

          Roger Myung created issue -

          Shimon Tolts added a comment -

          I am having the same issue, could you please fix this

          Shimon Tolts added a comment - I am having the same issue, could you please fix this

          Andreyev Melo added a comment -

          Even if all jobs where in the same folder?

          Andreyev Melo added a comment - Even if all jobs where in the same folder?

          Billy Foss added a comment -

          We are seeing the following issue.
          We have a job in a folder. For the "promote" step we want to copy the artifact from this job and deploy it to Artifactory.

          Jobs outside the Cloudbees folders work fine, but Jobs that are inside a "Folder" get the following error trying to find the project to copy from.

          Promoting FeatureBranches . FB0009 . DataProcessingModules #5
          Unable to find project for artifact copy: DataProcessingModules
          This may be due to incorrect project name or permission settings; see help for project name in job configuration.
          failed build hudson.plugins.copyartifact.CopyArtifact@45ddd0c7 SUCCESS

          Billy Foss added a comment - We are seeing the following issue. We have a job in a folder. For the "promote" step we want to copy the artifact from this job and deploy it to Artifactory. Jobs outside the Cloudbees folders work fine, but Jobs that are inside a "Folder" get the following error trying to find the project to copy from. Promoting FeatureBranches . FB0009 . DataProcessingModules #5 Unable to find project for artifact copy: DataProcessingModules This may be due to incorrect project name or permission settings; see help for project name in job configuration. failed build hudson.plugins.copyartifact.CopyArtifact@45ddd0c7 SUCCESS

          Billy Foss added a comment -

          FYI,
          I found I could get it to work if I use the path in the job name

          FeatureBranches/FB0009/$PROMOTED_JOB_NAME

          Interesting that $PROMOTED_JOB_NAME does not include the full path, but $JOB_NAME does. It resolved to FeatureBranches/FB0009/DataProcessingModules/promoted/Deploy to Artifactory

          Also if I tried to specify a variable defined in the Folder (ie FOLDER=FeatureBranches/FB0009) the variable would not resolve.

          Billy Foss added a comment - FYI, I found I could get it to work if I use the path in the job name FeatureBranches/FB0009/$PROMOTED_JOB_NAME Interesting that $PROMOTED_JOB_NAME does not include the full path, but $JOB_NAME does. It resolved to FeatureBranches/FB0009/DataProcessingModules/promoted/Deploy to Artifactory Also if I tried to specify a variable defined in the Folder (ie FOLDER=FeatureBranches/FB0009) the variable would not resolve.

          Thomas Fürer added a comment -

          I have still the problem to setup a build pipeline with jobs placed in folders. I uses the full path as Billy descibes but I fail.

          Thomas Fürer added a comment - I have still the problem to setup a build pipeline with jobs placed in folders. I uses the full path as Billy descibes but I fail.
          Gonzague Reydet made changes -
          Link New: This issue is blocking JENKINS-20841 [ JENKINS-20841 ]
          Gonzague Reydet made changes -
          Link Original: This issue is blocking JENKINS-20841 [ JENKINS-20841 ]
          Gonzague Reydet made changes -
          Link New: This issue is related to JENKINS-20841 [ JENKINS-20841 ]
          Jesse Glick made changes -
          Labels New: folders

            Unassigned Unassigned
            rmyung Roger Myung
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: