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

Promoted Builds does not work with CloudBees Folder plugin

      When using the CloudBees folder plugin, clicking on the Promotion Status link for a job will not show the "Build" icon unless you are logged in as an administrator. Similarly, if you attempt to run the Promotion on a slave that is restricted to a folder, the job will become permanently queued.

      Since the Jenkins team owns both of these plugins, they should work together. According CloudBee's own documentation, the Promoted Builds plugin needs to make use of a particular extension point to function with the Folders plugin: http://jenkins-enterprise.cloudbees.com/docs/user-guide-bundle/foldersplus-sect-controlledslaves.html.

          [JENKINS-25011] Promoted Builds does not work with CloudBees Folder plugin

          Taylor Jones added a comment -

          Included screenshots of both views.

          Taylor Jones added a comment - Included screenshots of both views.

          Damien Nozay added a comment -

          Not a complete change but this could help you:
          https://github.com/jenkinsci/promoted-builds-plugin/pull/47

          Damien Nozay added a comment - Not a complete change but this could help you: https://github.com/jenkinsci/promoted-builds-plugin/pull/47

          Jesse Glick added a comment - - edited

          The first part of the initially reported bug is somehow related to authentication. Pull #47/#48 would likely not help; these seem to be addressing an unrelated (possibly unfiled) bug, about the default value of a promotion parameter.

          The second part, about cloudbees-folders-plus, is also probably an unrelated issue, and not necessarily in promoted-builds at all. Reporter, for issues specific to Jenkins Enterprise plugins please just file a support ticket so the problem can be analyzed. (Or even if not specific to Jenkins Enterprise and you just want to ensure you get helped.)

          Jesse Glick added a comment - - edited The first part of the initially reported bug is somehow related to authentication. Pull #47/#48 would likely not help; these seem to be addressing an unrelated (possibly unfiled) bug, about the default value of a promotion parameter. The second part, about cloudbees-folders-plus , is also probably an unrelated issue, and not necessarily in promoted-builds at all. Reporter, for issues specific to Jenkins Enterprise plugins please just file a support ticket so the problem can be analyzed. (Or even if not specific to Jenkins Enterprise and you just want to ensure you get helped.)

          The promotion build parameter also does not work

          steven armstrong added a comment - The promotion build parameter also does not work

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          src/main/java/hudson/plugins/promoted_builds/parameters/PromotedBuildParameterDefinition.java
          src/main/java/hudson/plugins/promoted_builds/util/ItemPathResolver.java
          src/main/webapp/parameter/help-job.html
          src/test/java/hudson/plugins/promoted_builds/util/ItemPathResolverTest.java
          http://jenkins-ci.org/commit/promoted-builds-plugin/dfb5559a9f3bbf73befdc918fc7286b8cbe826bb
          Log:
          JENKINS-25011 - Folders and the relative addressing support

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/main/java/hudson/plugins/promoted_builds/parameters/PromotedBuildParameterDefinition.java src/main/java/hudson/plugins/promoted_builds/util/ItemPathResolver.java src/main/webapp/parameter/help-job.html src/test/java/hudson/plugins/promoted_builds/util/ItemPathResolverTest.java http://jenkins-ci.org/commit/promoted-builds-plugin/dfb5559a9f3bbf73befdc918fc7286b8cbe826bb Log: JENKINS-25011 - Folders and the relative addressing support

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          src/main/java/hudson/plugins/promoted_builds/parameters/PromotedBuildParameterDefinition.java
          src/main/java/hudson/plugins/promoted_builds/util/ItemPathResolver.java
          src/main/webapp/parameter/help-job.html
          src/test/java/hudson/plugins/promoted_builds/util/ItemPathResolverTest.java
          http://jenkins-ci.org/commit/promoted-builds-plugin/d8ef35e63f237a4aac87db560d00f02c43cfca3f
          Log:
          Merge pull request #62 from oleg-nenashev/JENKINS-25011

          JENKINS-25011 - Folders and the relative addressing support

          Compare: https://github.com/jenkinsci/promoted-builds-plugin/compare/0a0a5697bad5...d8ef35e63f23

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/main/java/hudson/plugins/promoted_builds/parameters/PromotedBuildParameterDefinition.java src/main/java/hudson/plugins/promoted_builds/util/ItemPathResolver.java src/main/webapp/parameter/help-job.html src/test/java/hudson/plugins/promoted_builds/util/ItemPathResolverTest.java http://jenkins-ci.org/commit/promoted-builds-plugin/d8ef35e63f237a4aac87db560d00f02c43cfca3f Log: Merge pull request #62 from oleg-nenashev/ JENKINS-25011 JENKINS-25011 - Folders and the relative addressing support Compare: https://github.com/jenkinsci/promoted-builds-plugin/compare/0a0a5697bad5...d8ef35e63f23

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          pom.xml
          src/main/java/hudson/plugins/promoted_builds/LastBuildPromotionStatusColumn.java
          src/main/java/hudson/plugins/promoted_builds/PromotionStatusColumn.java
          src/main/java/hudson/plugins/promoted_builds/parameters/PromotedBuildParameterDefinition.java
          src/main/java/hudson/plugins/promoted_builds/util/ItemPathResolver.java
          http://jenkins-ci.org/commit/promoted-builds-plugin/54fd9a0ff2ca88145a5cfe9cc74f1a28c0900f78
          Log:
          Merge branch 'JENKINS-25011'

          Compare: https://github.com/jenkinsci/promoted-builds-plugin/compare/d8ef35e63f23...54fd9a0ff2ca

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: pom.xml src/main/java/hudson/plugins/promoted_builds/LastBuildPromotionStatusColumn.java src/main/java/hudson/plugins/promoted_builds/PromotionStatusColumn.java src/main/java/hudson/plugins/promoted_builds/parameters/PromotedBuildParameterDefinition.java src/main/java/hudson/plugins/promoted_builds/util/ItemPathResolver.java http://jenkins-ci.org/commit/promoted-builds-plugin/54fd9a0ff2ca88145a5cfe9cc74f1a28c0900f78 Log: Merge branch ' JENKINS-25011 ' Compare: https://github.com/jenkinsci/promoted-builds-plugin/compare/d8ef35e63f23...54fd9a0ff2ca

          Oleg Nenashev added a comment -

          Fixed in 2.22

          Oleg Nenashev added a comment - Fixed in 2.22

            Unassigned Unassigned
            monitorjbl Taylor Jones
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: