Skip to content
Permalink
Browse files

[FIXED JENKINS-8563] add support for env expansion

on branch specification
  • Loading branch information
ndeloof committed Jul 23, 2012
1 parent 2ee61e6 commit 2283620895c888f5f02f06fcac2fb33f1def0691
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/git/GitSCM.java
@@ -1040,7 +1040,7 @@ public boolean checkout(final AbstractBuild build, Launcher launcher,
listener.getLogger().println("Last Built Revision: " + buildData.lastBuild.revision);
}

final String singleBranch = getSingleBranch(build);
final String singleBranch = environment.expand( getSingleBranch(build) );
final String paramLocalBranch = getParamLocalBranch(build);
Revision tempParentLastBuiltRev = null;

0 comments on commit 2283620

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