| krizleebear. I've been able to repro this so will pass onot the developers. Reproduction steps. 1 - Put files in two depot paths //depot/test1/... and //depot/test2/... 2 - Install P4-Plugin 1.9.4 3 - Create a new 'Multi-configuration project' job 4 - In the job set two axis': Slaves = slave 1 and slave 2 VARIANT = test1 test 2 5 - Under Source Code Management choose 'Perforce Software' and use the view:
// Some comments here
//depot/${VARIANT}/... //jenkins-${NODE_NAME}-${JOB_NAME}-${EXECUTOR_NUMBER}/...
6 - Set Build triggers to 'Poll SCM' and set Schedule as '* * * * *' Note: This may not be necessary. 7 - Save the job. 8 - Try manually building the job multiple times. The console output shows:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building on master in workspace /var/lib/jenkins/workspace/Matrix_Freestyle
... p4 client -o jenkins-master-Matrix_Freestyle--1 +
... p4 info +
... p4 info +
... p4 client -o jenkins-master-Matrix_Freestyle--1 +
... p4 client -i +
P4: Unable to setup workspace: com.perforce.p4java.exception.RequestException: Error in client specification.
Error detected at line 18.
Null directory (//) not allowed in '//depot//...'.
at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.handleErrorStr(ResultMapParser.java:145)
at com.perforce.p4java.impl.mapbased.server.cmd.ResultMapParser.parseCommandResultMapIfIsInfoMessageAsString(ResultMapParser.java:96)
at com.perforce.p4java.impl.mapbased.server.cmd.ClientDelegator.updateClient(ClientDelegator.java:192)
at com.perforce.p4java.impl.mapbased.server.Server.updateClient(Server.java:1506)
at com.perforce.p4java.impl.mapbased.client.Client.update(Client.java:507)
at org.jenkinsci.plugins.p4.client.ClientHelper.updateClient(ClientHelper.java:181)
at org.jenkinsci.plugins.p4.client.ClientHelper.clientLogin(ClientHelper.java:159)
at org.jenkinsci.plugins.p4.client.ClientHelper.<init>(ClientHelper.java:101)
at org.jenkinsci.plugins.p4.tasks.CheckoutTask.initialise(CheckoutTask.java:61)
at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:477)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1815)
at hudson.matrix.MatrixBuild.run(MatrixBuild.java:323)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
ERROR: P4: Unable to initialise CheckoutTask: hudson.AbortException: Error in client specification.
Error detected at line 18.
Null directory (//) not allowed in '//depot//...'.
Finished: FAILURE
|