Permalink
Browse files

[FIXED JENKINS-23675] Expand parameters on repository url before asso…

…ciate one url to one credential
  • Loading branch information...
elvysborges authored and MarkEWaite committed Jul 3, 2014
1 parent 8854f8b commit 988c4d10cb09133673631e33190897c895e59cf7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/hudson/plugins/git/GitSCM.java
@@ -642,6 +642,7 @@ public GitClient createClient(TaskListener listener, EnvVars environment, Run<?,
for (UserRemoteConfig uc : getUserRemoteConfigs()) {
if (uc.getCredentialsId() != null) {
String url = uc.getUrl();
url = getParameterString(url, environment);
StandardUsernameCredentials credentials = CredentialsMatchers
.firstOrNull(
CredentialsProvider.lookupCredentials(StandardUsernameCredentials.class, project,

0 comments on commit 988c4d1

Please sign in to comment.