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

Plugin is preventing setting "Restrict where this project can be run"

      With Promoted-Builds v2.6 installed, it is no longer possible to set the "Restrict where this project can be run". Any value in the field is not committed when the job is saved.

      NOTE: Downgrading Promoted-Builds to v2.5 resolved the problem.

          [JENKINS-14197] Plugin is preventing setting "Restrict where this project can be run"

          Jason Swager created issue -

          I had another problem with 2.6 which I think is part of this problem:

          I noticed that we had a number of jobs waiting for executors, but the master and all slaves were idle. Restarting the master did not help. I seem to recall that the affected jobs previously had “restrict where this project can run” set, but now it’s unset. I had to downgrade Promoted-Builds to v2.5, and then reenter the “restrict where this project can run” value in the job config.

          Matthew Webber added a comment - I had another problem with 2.6 which I think is part of this problem: I noticed that we had a number of jobs waiting for executors, but the master and all slaves were idle. Restarting the master did not help. I seem to recall that the affected jobs previously had “restrict where this project can run” set, but now it’s unset. I had to downgrade Promoted-Builds to v2.5, and then reenter the “restrict where this project can run” value in the job config.

          erwan_q added a comment -

          Thanks. Blocker for me too. I noticed the same problem and rollback to promoted build v2.5 solved the problem. (good workaround)

          erwan_q added a comment - Thanks. Blocker for me too. I noticed the same problem and rollback to promoted build v2.5 solved the problem. (good workaround)

          aflat added a comment -

          In addition, creating new jobs from another job resets the "restrict where this project can be run" to some other value. It's always the same label for me.

          aflat added a comment - In addition, creating new jobs from another job resets the "restrict where this project can be run" to some other value. It's always the same label for me.
          Steve Schwaller made changes -
          Link New: This issue is duplicated by JENKINS-14219 [ JENKINS-14219 ]
          OHTAKE Tomohiro made changes -
          Assignee New: OHTAKE Tomohiro [ ohtake_tomohiro ]

          Deepak Arora added a comment -

          Ran into the same issue. Thanks for the workaround!

          Deepak Arora added a comment - Ran into the same issue. Thanks for the workaround!

          Code changed in jenkins
          User: OHTAKE Tomohiro
          Path:
          src/main/java/hudson/plugins/promoted_builds/PromotionProcess.java
          src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly
          http://jenkins-ci.org/commit/promoted-builds-plugin/74499cc5ee9f6a9a53dcd0a4b120978391d663e3
          Log:
          [FIXED JENKINS-14197] Fix preventing setting "Restrict where this project can be run"

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: OHTAKE Tomohiro Path: src/main/java/hudson/plugins/promoted_builds/PromotionProcess.java src/main/resources/hudson/plugins/promoted_builds/PromotionProcess/process-config.jelly http://jenkins-ci.org/commit/promoted-builds-plugin/74499cc5ee9f6a9a53dcd0a4b120978391d663e3 Log: [FIXED JENKINS-14197] Fix preventing setting "Restrict where this project can be run"
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Thx very much, this is really a terrible bug... hope this bug can be fixed asap...

          Bao Xiaopan(Bob) added a comment - Thx very much, this is really a terrible bug... hope this bug can be fixed asap...

            ohtake_tomohiro OHTAKE Tomohiro
            jswager1 Jason Swager
            Votes:
            10 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: