Skip to content

Commit

Permalink
[FIXED JENKINS-8563] add support for env expansion
Browse files Browse the repository at this point in the history
on branch specification
  • Loading branch information
ndeloof committed Jul 23, 2012
1 parent 2ee61e6 commit 2283620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/git/GitSCM.java
Expand Up @@ -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;

Expand Down

0 comments on commit 2283620

Please sign in to comment.