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

Support QueueItemAuthenticator.authenticate(Task)

XMLWordPrintable

      Currently the two QueueItemAuthenticator implementations in this plugin implement authenticate(Item) but they should also implement authenticate(Task). The fallback implementation works, but using a somewhat scary trick. Better to override it to do what you need. Implies that AuthorizeProjectStrategy also needs an authenticate(Job) method taking no Queue.Item. (TriggeringUsersAuthorizationStrategy is the only one to actually use this parameter; for that strategy, authenticate(Task) must return null.)

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: