Skip to content

Commit

Permalink
[JENKINS-21785] Fix for PR 70 / aabd40a
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-beck committed Mar 31, 2014
1 parent 53a07a3 commit 69ef77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/scm/SubversionSCM.java
Expand Up @@ -2736,7 +2736,7 @@ public SVNRepository openRepository(AbstractProject context, boolean keepConnect
StandardCredentials cred = CredentialsMatchers
.firstOrNull(CredentialsProvider.lookupCredentials(StandardCredentials.class, context,
ACL.SYSTEM, Collections.<DomainRequirement>emptyList()),
CredentialsMatchers.allOf(CredentialsMatchers.withId(credentialsId),
CredentialsMatchers.allOf(CredentialsMatchers.withId(c.getCredentialsId()),
CredentialsMatchers.anyOf(CredentialsMatchers.instanceOf(
StandardCredentials.class), CredentialsMatchers.instanceOf(
SSHUserPrivateKey.class))));
Expand Down

0 comments on commit 69ef77b

Please sign in to comment.