Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13062

Unable to communicate with perforce.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • p4-plugin
    • None
    • Windows XP SP 3, Perforce 2011.1 (server and client), Jenkins 1.454, Perforce Plugin 1.3.10

      Fresh installation. Perforce plugin is the only additional plugin installed. First project. All builds fail immidiately. Error message:

      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
      

            Unassigned Unassigned
            freefall Henning Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: