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

Promoted Builds does not work with CloudBees Folder plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          monitorjbl Taylor Jones added a comment -

          Included screenshots of both views.

          Show
          monitorjbl Taylor Jones added a comment - Included screenshots of both views.
          Hide
          dnozay Damien Nozay added a comment -

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

          Show
          dnozay Damien Nozay added a comment - Not a complete change but this could help you: https://github.com/jenkinsci/promoted-builds-plugin/pull/47
          Hide
          jglick 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.)

          Show
          jglick 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.)
          Hide
          stevenarmstrong steven armstrong added a comment -

          The promotion build parameter also does not work

          Show
          stevenarmstrong steven armstrong added a comment - The promotion build parameter also does not work
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Fixed in 2.22

          Show
          oleg_nenashev Oleg Nenashev added a comment - Fixed in 2.22

            People

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

              Dates

              • Created:
                Updated:
                Resolved: