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

Release button disappears after upgrading Release Plugin from 2.4.1 to 2.5.3

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: release-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.609
    • Similar Issues:

      Description

      We've isolated the problem to Release Plugin version. When downgraded to 2.4.1 "Release" button (the one to schedule new release) appears. Upgrading to 2.5.3 button disappears. Other release-related icons are still visible on past builds. Nothing obvious in the logs.

        Attachments

          Issue Links

            Activity

            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
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/hudson/plugins/release/ReleaseWrapper.java
            http://jenkins-ci.org/commit/release-plugin/137c807e146c93168096f3f08e936c5d56d64cc3
            Log:
            Merge pull request #16 from aprueller/master

            [FIXED JENKINS-28132] add an impliedBy definition to permission

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

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/plugins/release/ReleaseWrapper.java http://jenkins-ci.org/commit/release-plugin/137c807e146c93168096f3f08e936c5d56d64cc3 Log: Merge pull request #16 from aprueller/master [FIXED JENKINS-28132] add an impliedBy definition to permission Compare: https://github.com/jenkinsci/release-plugin/compare/a7c8573bd5fb...137c807e146c
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: aprueller
            Path:
            src/main/java/hudson/plugins/release/ReleaseWrapper.java
            http://jenkins-ci.org/commit/release-plugin/bca86467ada50ed79d019c2ffe37d3749f058d39
            Log:
            [FIXED JENKINS-28132] add an impliedBy definition to release permission so it will be handled properly if no matrix-based security is used

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: aprueller Path: src/main/java/hudson/plugins/release/ReleaseWrapper.java http://jenkins-ci.org/commit/release-plugin/bca86467ada50ed79d019c2ffe37d3749f058d39 Log: [FIXED JENKINS-28132] add an impliedBy definition to release permission so it will be handled properly if no matrix-based security is used
            Hide
            drb9764 David Barber added a comment -

            Release button is missing for 2.5.4 version as well so we had to downgrade to 2.4.1. We use project-based matrix authorization strategy so Matrix-based security is not an option for us.

            Show
            drb9764 David Barber added a comment - Release button is missing for 2.5.4 version as well so we had to downgrade to 2.4.1. We use project-based matrix authorization strategy so Matrix-based security is not an option for us.
            Hide
            andreasprueller Andreas Prueller added a comment -

            I just made a pull request fixing this bug. Problem was the introduction of the separate permission for matrix based security which did not take into account that some people do not use matrix based security.

            Show
            andreasprueller Andreas Prueller added a comment - I just made a pull request fixing this bug. Problem was the introduction of the separate permission for matrix based security which did not take into account that some people do not use matrix based security.

              People

              • Assignee:
                andreasprueller Andreas Prueller
                Reporter:
                ppaczyn Piotr PaczyƄski
              • Votes:
                16 Vote for this issue
                Watchers:
                23 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: