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

upgrade to the release plugin has left the plugin broken

    Details

    • Similar Issues:

      Description

      I cloned the release plugin repo from github to customize the plugin. The plugin when packaged on local machine it does a successful package but when the hpi package is uploaded to jenkins server the release button on the left panel is not showing up. When I checked out the older branch from the repository the plugin works perfectly fine. May be the recent changes is failing the plugin.

        Attachments

          Issue Links

            Activity

            Hide
            dageissl Daniel Geißler added a comment -

            If that's the point then calling the url directly should not work.
            And a little mentioning in the release notes would be nice.

            Show
            dageissl Daniel Geißler added a comment - If that's the point then calling the url directly should not work. And a little mentioning in the release notes would be nice.
            Hide
            ricko Richard Otter added a comment - - edited

            My security setting has always been "logged in users can do anything". Updating to Release 2.5.3 cause Release link to be missing. After reading the above, I switched security to "Anyone can do Anything" and the link reappeared.

            I switched the sec setting back again and the link was gone again. It looks like I'll need to change the setting for every Release build until it's fixed.
            Jenkins v1.609.1, Java 1.8 u45 x64 on Windows server.

            Just saw the workaround in report-
            JENKINS-28132
            It uses a hidden group named authenticated. I was worried that I was going to lock myself out of the server when I tried it, but it worked.

            Show
            ricko Richard Otter added a comment - - edited My security setting has always been "logged in users can do anything". Updating to Release 2.5.3 cause Release link to be missing. After reading the above, I switched security to "Anyone can do Anything" and the link reappeared. I switched the sec setting back again and the link was gone again. It looks like I'll need to change the setting for every Release build until it's fixed. Jenkins v1.609.1, Java 1.8 u45 x64 on Windows server. Just saw the workaround in report- JENKINS-28132 It uses a hidden group named authenticated. I was worried that I was going to lock myself out of the server when I tried it, but it worked.
            Hide
            dma_k dma_k added a comment -

            I have the same issue with Release Plugin v2.6.1. I use "Logged-in users can do anything" authorization mode and "Matrix-based security" is not an option for me.
            Richard Otter: What is the workaround? Enable matrix and tick all checkboxes, save, and then switch back to "Logged-in users can do anything"?

            Show
            dma_k dma_k added a comment - I have the same issue with Release Plugin v2.6.1. I use "Logged-in users can do anything" authorization mode and "Matrix-based security" is not an option for me. Richard Otter : What is the workaround? Enable matrix and tick all checkboxes, save, and then switch back to "Logged-in users can do anything"?
            Hide
            danielbeck Daniel Beck added a comment -

            Weird, 2.6 and up contain the fix for JENKINS-28132 which should result in all administrators getting release permssion. Did you forget to restart Jenkins?

            Show
            danielbeck Daniel Beck added a comment - Weird, 2.6 and up contain the fix for JENKINS-28132 which should result in all administrators getting release permssion. Did you forget to restart Jenkins?
            Hide
            dma_k dma_k added a comment -

            Daniel Beck: The situation is that I have installed Jenkins from scratch yesterday and installed Release Plugin on that fresh Jenkins instance. Of course I have restarted it to activate the plugin (among others), but this was not the upgrade of the plugin.
            This is what /jenkins/whoAmI shows:

            org.acegisecurity.providers.UsernamePasswordAuthenticationToken@23075750: Username: dma_k; Password: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: authenticated
            
            Show
            dma_k dma_k added a comment - Daniel Beck : The situation is that I have installed Jenkins from scratch yesterday and installed Release Plugin on that fresh Jenkins instance. Of course I have restarted it to activate the plugin (among others), but this was not the upgrade of the plugin. This is what /jenkins/whoAmI shows: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@23075750: Username: dma_k; Password: [PROTECTED]; Authenticated: true ; Details: null ; Granted Authorities: authenticated

              People

              • Assignee:
                petehayes Peter Hayes
                Reporter:
                hshah Harsh Shah
              • Votes:
                3 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: