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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            mwebber 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.

            Show
            mwebber 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.
            Hide
            erwan_q 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)

            Show
            erwan_q 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)
            Hide
            aflat 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.

            Show
            aflat 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.
            Hide
            da7489 Deepak Arora added a comment -

            Ran into the same issue. Thanks for the workaround!

            Show
            da7489 Deepak Arora added a comment - Ran into the same issue. Thanks for the workaround!
            Hide
            scm_issue_link 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"

            Show
            scm_issue_link 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"
            Hide
            xiaopan3322 Bao Xiaopan(Bob) added a comment -

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

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

            I see it's fixed in the source, but when can we expect to pull down the update? This should be a high priority update given the impact on other build aspects.

            Show
            bedge Bruce Edge added a comment - I see it's fixed in the source, but when can we expect to pull down the update? This should be a high priority update given the impact on other build aspects.
            Hide
            ohtake_tomohiro OHTAKE Tomohiro added a comment -

            Promoted Builds 2.6.1 has been released.
            It will be available in several hours.
            Sorry for inconvenience.

            Show
            ohtake_tomohiro OHTAKE Tomohiro added a comment - Promoted Builds 2.6.1 has been released. It will be available in several hours. Sorry for inconvenience.

              People

              • Assignee:
                ohtake_tomohiro OHTAKE Tomohiro
                Reporter:
                jswager1 Jason Swager
              • Votes:
                10 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: