Skip to content
Permalink
Browse files

Merge pull request #239 from elvysborges/2.2.x

[FIXED JENKINS-23675] Expand parameters on repository url
  • Loading branch information...
ndeloof committed Jul 11, 2014
2 parents b3c63a0 + 7fbd682 commit 397646b8034e63f1d6f8c783e9fd3a9df16c57a4
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 397646b

Please sign in to comment.
You can’t perform that action at this time.