Issue Type: Bug Bug
Assignee: Rob Petti
Components: perforce
Created: 08/Jan/14 12:45 PM
Description:

All of a sudden, some builds start failing. Closer inspection showed, that the perforce plugin stopped providing the "-P" option to p4.exe. I can't explain why. Going back to 1.3.24 didn't help (but i'm unsure if the roll-back performed correctly). Updating Jenkins to 1.546 didn't help either.

The log of a successful (old) build shows:

[EnvInject] - Loading node environment variables.
Building on Slave WIN7 in workspace c:\jenkins\workspace\DEMO

Deleting project workspace... done

Using remote perforce client: Jenkins_DEMO--216826706
[DEMO] $ "c:\program files\perforce\p4" -P XXXXXXXXXXXXXXXXXXXX workspace -o Jenkins_DEMO--216826706
Note: .repository directory in workspace (if exists) is skipped during clean.
Wiping workspace...
Wiped workspace.
Clean complete, took 5 ms

[...]

A failed (new) build shows:

[EnvInject] - Loading node environment variables.
Building on Slave WIN7 in workspace c:\jenkins\workspace\DEMO

Deleting project workspace... done

Using remote perforce client: Jenkins_DEMO--216826706
[DEMO] $ "c:\program files\perforce\p4.exe" workspace -o Jenkins_DEMO--216826706
Caught exception communicating with perforce. No output for: c:\program files\perforce\p4.exe workspace -o Jenkins_DEMO--216826706 com.tek42.perforce.PerforceException: No output for: c:\program files\perforce\p4.exe workspace -o Jenkins_DEMO--216826706 
  at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:408)
  at com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:301)
  at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61)
  at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1545)
  at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1506)
  at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:843)
  at hudson.model.AbstractProject.checkout(AbstractProject.java:1415)
  at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
  at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
  at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
  at hudson.model.Run.execute(Run.java:1678)
  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
  at hudson.model.ResourceController.execute(ResourceController.java:88)
  at hudson.model.Executor.run(Executor.java:231)
ERROR: Unable to communicate with perforce. No output for: c:\program files\perforce\p4.exe workspace -o Jenkins_DEMO--216826706 

[...]
Project: Jenkins
Labels: perforce plugin
Priority: Major Major
Reporter: Peter Schaefer-Hutter
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to