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

Build permission on agents is not working

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Jenkins Version: 2.164.1

      Role Strategy Plugin Version: 2.10

      I configured a role with all agent related permissions: Build, Configure, Connect, Disconnect...

      With this role assigned to a user, that user can Configure the agent, but it can't run builds on it. The cause of blockage indicates it lacks permissions to run on this slave.

      It is related with the authorization strategy implementing the getACL for Computer but not for Node. If implementing the ACL also for Node apparently works without issues.

       

       

       

        Attachments

          Activity

          Show
          luispiedra Luis Piedra-Márquez added a comment - Pull Request: https://github.com/jenkinsci/role-strategy-plugin/pull/59
          Hide
          runzexia runze xia added a comment -

          Hi What is the log after the failure? Luis Piedra-Márquez

          Show
          runzexia runze xia added a comment - Hi What is the log after the failure? Luis Piedra-Márquez
          Hide
          luispiedra Luis Piedra-Márquez added a comment -

          No error logged.

          It's just the build does not enter any slave altought it should have permissions to do so, and points it in the cause of blockage.

          Show
          luispiedra Luis Piedra-Márquez added a comment - No error logged. It's just the build does not enter any slave altought it should have permissions to do so, and points it in the cause of blockage.
          Hide
          zentavr Andrey Miroshnichenko added a comment -

          I have the same issue as well

          Show
          zentavr Andrey Miroshnichenko added a comment - I have the same issue as well

            People

            • Assignee:
              oleg_nenashev Oleg Nenashev
              Reporter:
              luispiedra Luis Piedra-Márquez
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: