Henning Moeller created JENKINS-13062:
-----------------------------------------
Summary: Unable to communicate with perforce.
Key: JENKINS-13062
URL: https://issues.jenkins-ci.org/browse/JENKINS-13062
Project: Jenkins
Issue Type: Bug
Components: perforce
Environment: Windows XP SP 3, Perforce 2011.1 (server and client),
Jenkins 1.454, Perforce Plugin 1.3.10
Reporter: Henning Moeller
Fresh installation. Perforce plugin is the only additional plugin installed.
First project. All builds fail immidiately. Error message:
{code}
Building in workspace D:\Jenkins\jobs\Testcase API\workspace
Using master perforce client: Jenkins_TestcaseAPI_Head
[workspace] $ workspace -o Jenkins_TestcaseAPI_Head
Caught exception communicating with perforce. Could not run perforce
command.com.tek42.perforce.PerforceException: Could not run perforce command.
at
hudson.plugins.perforce.HudsonP4DefaultExecutor.exec(HudsonP4DefaultExecutor.java:88)
at
com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:321)
at
com.tek42.perforce.parse.AbstractPerforceTemplate.getPerforceResponse(AbstractPerforceTemplate.java:292)
at com.tek42.perforce.parse.Workspaces.getWorkspace(Workspaces.java:61)
at
hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1325)
at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:725)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
at
hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:579)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:468)
at hudson.model.Run.run(Run.java:1408)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:238)
Caused by: java.io.IOException: Cannot run program "" (in directory
"D:\Jenkins\jobs\Testcase API\workspace"): CreateProcess error=2, The system
cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at hudson.Proc$LocalProc.<init>(Proc.java:244)
at hudson.Proc$LocalProc.<init>(Proc.java:216)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:707)
at hudson.Launcher$ProcStarter.start(Launcher.java:338)
at
hudson.plugins.perforce.HudsonP4DefaultExecutor.exec(HudsonP4DefaultExecutor.java:79)
... 12 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find
the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 18 more
ERROR: Unable to communicate with perforce. Could not run perforce command.
Finished: FAILURE
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira