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

Generate Sauce Support Zip fails in Pipeline

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When I click on the "Generate Sauce Support Zip" link from a pipeline job I get an "
      Access Denied: admin is missing the Job/Configure permission" error.

      From Freestyle job it works.

        Attachments

          Activity

          Hide
          bitwiseman Liam Newman added a comment -

          Gavin Mogan - Well, maybe it is just something about my setup.
          I'm happy to screenshare and pair debug this (next week) or just let it go.
          Up to you.

          Show
          bitwiseman Liam Newman added a comment - Gavin Mogan - Well, maybe it is just something about my setup. I'm happy to screenshare and pair debug this (next week) or just let it go. Up to you.
          Hide
          halkeye Gavin Mogan added a comment -

          The link is actually using the same code to check, so it shouldn't even provide you the option to download the zip unless you are an admin.

          I'm at a complete loss as to the cause.

          Show
          halkeye Gavin Mogan added a comment - The link is actually using the same code to check, so it shouldn't even provide you the option to download the zip unless you are an admin. I'm at a complete loss as to the cause.
          Hide
          halkeye Gavin Mogan added a comment -

          https://github.com/saucelabs/jenkins-sauce-ondemand-plugin/blob/master/src/main/java/hudson/plugins/sauce_ondemand/SauceOnDemandProjectAction.java#L171-L173

                  AccessControlled ac = job;
                  Permission p = Project.CONFIGURE;
                  ac.checkPermission(p);
          

          If I understand that properly, its checking to see if you have Project Configure permission on the job

          Show
          halkeye Gavin Mogan added a comment - https://github.com/saucelabs/jenkins-sauce-ondemand-plugin/blob/master/src/main/java/hudson/plugins/sauce_ondemand/SauceOnDemandProjectAction.java#L171-L173 AccessControlled ac = job; Permission p = Project.CONFIGURE; ac.checkPermission(p); If I understand that properly, its checking to see if you have Project Configure permission on the job
          Hide
          halkeye Gavin Mogan added a comment -

          Brand new jenkins docker install (2.19.3)
          Latest release of sauce connect

          Simple Pipeline script

          One successful build

          It download the zip just fine.

          Show
          halkeye Gavin Mogan added a comment - Brand new jenkins docker install (2.19.3) Latest release of sauce connect Simple Pipeline script One successful build It download the zip just fine.
          Hide
          halkeye Gavin Mogan added a comment -

          hrm okay, i'll make sure i set it to that strategy and do some tests.

          Show
          halkeye Gavin Mogan added a comment - hrm okay, i'll make sure i set it to that strategy and do some tests.

            People

            Assignee:
            halkeye Gavin Mogan
            Reporter:
            bitwiseman Liam Newman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: