Skip to content
Permalink
Browse files

[FIXED JENKINS-10125] fixing P4CLIENT build env variable for concurre…

…nt builds
  • Loading branch information...
Rob Petti
Rob Petti committed Oct 9, 2012
1 parent 57fa201 commit ecbba4b82234288733fe295b8ea702a531bb8619
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/hudson/plugins/perforce/PerforceSCM.java
@@ -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) {

0 comments on commit ecbba4b

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