Skip to content

Commit

Permalink
[JENKINS-45806] Mercurial doesn't use credentials in multibranch pipe…
Browse files Browse the repository at this point in the history
…line
  • Loading branch information
Doccrazy committed Aug 21, 2017
1 parent 7c41dbd commit 60d0b64
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -190,6 +190,7 @@ public void setCredentialsId(@CheckForNull String credentialsId) {
@CheckForNull SCMHeadEvent<?> event, @Nonnull final TaskListener listener)
throws IOException, InterruptedException {
try (MercurialSCMSourceRequest request= new MercurialSCMSourceContext<>(criteria, observer)
.withCredentialsId(credentialsId)
.withTraits(traits)
.newRequest(this, listener) ) {
MercurialInstallation inst = MercurialSCM.findInstallation(request.installation());
Expand Down

0 comments on commit 60d0b64

Please sign in to comment.