Skip to content

Commit

Permalink
Merge pull request #46 from MarkEWaite/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
orrc authored Apr 26, 2022
2 parents bb649b6 + a555d34 commit 4234dca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static List<GoogleRobotCredentials> getCredentials(Item item) {
return Collections.emptyList();
}

// As per the Credentials Plugin docs: https://git.io/JfW7R
// As per the Credentials Plugin docs: https://github.com/jenkinsci/credentials-plugin/blob/2f9bf725/docs/consumer.adoc#listing-available-credentials-matching-some-specific-set-of-criteria
Authentication auth = item instanceof Queue.Task ? Tasks.getAuthenticationOf((Queue.Task) item) : ACL.SYSTEM;
return CredentialsProvider.lookupCredentials(
GoogleRobotCredentials.class, item, auth, ImmutableList.of(requirement)
Expand Down

0 comments on commit 4234dca

Please sign in to comment.