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

Promotion criteria "If the build is a release build" is broken and displays duplicated

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In the job configuration when "Promote builds when..." is enabled, in the criteria of the "Promotion Process", "If the build is a release build" is duplicated.

      If both are checked and the job is saved, upon next open of the config, "If the build is a release build" criteria is unchecked.

      If one is checked and the job is saved, upon next open of the config, "If the build is a release build" criteria is enabled.

      The effect of this is that the option is toggled each time the config is edited and saved and means it cannot be relied upon.

        Attachments

          Issue Links

            Activity

            Hide
            allan_burdajewicz Allan BURDAJEWICZ added a comment -

            This still happens in latest release of the plugin 2.5.4. Can we re-open this ticket?

            Show
            allan_burdajewicz Allan BURDAJEWICZ added a comment - This still happens in latest release of the plugin 2.5.4. Can we re-open this ticket?
            Hide
            allan_burdajewicz Allan BURDAJEWICZ added a comment - - edited
            Show
            allan_burdajewicz Allan BURDAJEWICZ added a comment - - edited A fixed has been proposed (see https://github.com/jenkinsci/release-plugin/pull/15 )
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Allan Burdajewicz
            Path:
            .gitignore
            src/main/java/hudson/plugins/release/ReleaseWrapper.java
            src/main/java/hudson/plugins/release/promotion/ReleasePromotionCondition.java
            src/test/java/hudson/plugins/release/TestReleasePlugin.java
            http://jenkins-ci.org/commit/release-plugin/b47f6c31846fc63d1efa6bb6a8958bed9d3d337b
            Log:
            JENKINS-11176 Fixed the optional @Extension for the Promotion Condition.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Allan Burdajewicz Path: .gitignore src/main/java/hudson/plugins/release/ReleaseWrapper.java src/main/java/hudson/plugins/release/promotion/ReleasePromotionCondition.java src/test/java/hudson/plugins/release/TestReleasePlugin.java http://jenkins-ci.org/commit/release-plugin/b47f6c31846fc63d1efa6bb6a8958bed9d3d337b Log: JENKINS-11176 Fixed the optional @Extension for the Promotion Condition.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            .gitignore
            src/main/java/hudson/plugins/release/ReleaseWrapper.java
            src/main/java/hudson/plugins/release/promotion/ReleasePromotionCondition.java
            src/test/java/hudson/plugins/release/TestReleasePlugin.java
            http://jenkins-ci.org/commit/release-plugin/a7c8573bd5fb045e7d982f3ea873a6b39dfae0e3
            Log:
            Merge pull request #15 from Dohbedoh/JENKINS-11176

            JENKINS-11176 Promotion criteria "If the build is a release build" is broken and displays duplicated

            Compare: https://github.com/jenkinsci/release-plugin/compare/ab68ac9ce267...a7c8573bd5fb

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: .gitignore src/main/java/hudson/plugins/release/ReleaseWrapper.java src/main/java/hudson/plugins/release/promotion/ReleasePromotionCondition.java src/test/java/hudson/plugins/release/TestReleasePlugin.java http://jenkins-ci.org/commit/release-plugin/a7c8573bd5fb045e7d982f3ea873a6b39dfae0e3 Log: Merge pull request #15 from Dohbedoh/ JENKINS-11176 JENKINS-11176 Promotion criteria "If the build is a release build" is broken and displays duplicated Compare: https://github.com/jenkinsci/release-plugin/compare/ab68ac9ce267...a7c8573bd5fb
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            The fix has been release in Release Plugin 2.6

            Show
            oleg_nenashev Oleg Nenashev added a comment - The fix has been release in Release Plugin 2.6

              People

              • Assignee:
                allan_burdajewicz Allan BURDAJEWICZ
                Reporter:
                wyrdvans wyrdvans
              • Votes:
                6 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: