Skip to content

Commit

Permalink
Merge pull request #2 from jenkinsci/JENKINS-40422
Browse files Browse the repository at this point in the history
[JENKINS-40422] Inferring credentials resolves wrong credential
  • Loading branch information
Raúl Arabaolaza Barquin committed Dec 23, 2016
2 parents ecf5373 + d88d474 commit 9ddafe8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -409,7 +409,7 @@ private String getSha1() {
}

private String tryToInferCredentialsId() {
String credentialsID = getSource().getCredentialsId();
String credentialsID = getSource().getScanCredentialsId();
if (credentialsID != null) {
return credentialsID;
} else {
Expand Down

0 comments on commit 9ddafe8

Please sign in to comment.