Skip to content

Commit

Permalink
[FIXED JENKINS-10125] fixing P4CLIENT build env variable for concurre…
Browse files Browse the repository at this point in the history
…nt builds
  • Loading branch information
Rob Petti committed Oct 9, 2012
1 parent 57fa201 commit ecbba4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/perforce/PerforceSCM.java
Expand Up @@ -463,7 +463,7 @@ public void buildEnvVars(AbstractBuild build, Map<String, String> env) {
env.put("P4TICKET", p4Ticket);
}

env.put("P4CLIENT", getEffectiveClientName(build));
env.put("P4CLIENT", getConcurrentClientName(build.getWorkspace(), getEffectiveClientName(build)));
PerforceTagAction pta = build.getAction(PerforceTagAction.class);
if (pta != null) {
if (pta.getChangeNumber() > 0) {
Expand Down

0 comments on commit ecbba4b

Please sign in to comment.