Permalink
Browse files

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

…ciate one url to one credential
  • Loading branch information...
elvysborges committed Jul 3, 2014
1 parent b3c63a0 commit 7fbd682693f143b628e16e5776d5e8e4b7590b6f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/hudson/plugins/git/GitSCM.java
@@ -570,6 +570,7 @@ public GitClient createClient(BuildListener listener, EnvVars environment, Abstr
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 7fbd682

Please sign in to comment.