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 created issue -
          Taylor Jones made changes -
          Attachment New: promotion-limited.png [ 27740 ]
          Taylor Jones made changes -
          Attachment New: promotion-admin.png [ 27741 ]

          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 made changes -
          Labels New: folders

          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
          steven armstrong made changes -
          Labels Original: folders New: folders promoted-builds

          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

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

              Created:
              Updated:
              Resolved: