java.io.IOException: Cannot run program "sh" (in directory "C:\Windows\TEMP\hudson5061178017739584096test\workspace\pipeline4"): CreateProcess error=2, The system cannot find the file specified

gmane.org | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Developer list for the Hudson continuous build server.

    gmane.org | 8 months ago
    java.io.IOException: Cannot run program "sh" (in directory "C:\Windows\TEMP\hudson5170874846038503775test\workspace\pipeline1"): CreateProcess error=2, The system cannot find the file specified
  2. 0

    Java Doc generation failing

    GitHub | 2 years ago | edanian
    java.io.IOException: Cannot run program "mvn.bat" (in directory "C:\Program Files (x86)\Jenkins\workspace\gameoflife-default"): CreateProcess error=2, The system cannot find the file specified
  3. 0

    How to create a job to run command line job from Jenkins (window)

    Google Groups | 3 years ago | Lily Fu
    java.io.IOException: Cannot run program "sh" (in directory "C:\Users\lily.fu\.jenkins\jobs\LilyTest_LiquibaseDiff\workspace"): CreateProcess error=2, The system cannot find the file specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How do I configure CI hudson with PHPunit and how do I run phpunit using hudson?

    Stack Overflow | 7 years ago | Vinesh
    java.io.IOException: Cannot run program "sh" (in directory "E:\Projects\Hudson\.hudson\jobs\TSG\workspace"): CreateProcess error=2, The system cannot find the file specified
  6. 0

    Hudson cannot find powershell after update to powershell 3

    Stack Overflow | 4 years ago | George Mauer
    java.io.IOException: Cannot run program "powershell.exe" (in directory "C:\hudson\jobs\MyProject\workspace"): CreateProcess error=2, The system cannot find the file specified

  1. rp 1 times, last 3 months ago
  2. michallos 1 times, last 4 months ago
  3. eti22 1 times, last 5 months ago
  4. asdasd 24 times, last 6 months ago
  5. rexgreenza 8 times, last 6 months ago
2 more registered users
93 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    CreateProcess error=2, The system cannot find the file specified

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:137)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    4 frames
  3. Hudson
    Executor.run
    1. hudson.Proc$LocalProc.<init>(Proc.java:240)
    2. hudson.Proc$LocalProc.<init>(Proc.java:212)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:815)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:381)
    5. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:95)
    6. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:64)
    7. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    8. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
    9. hudson.model.Build$BuildExecution.build(Build.java:205)
    10. hudson.model.Build$BuildExecution.doRun(Build.java:162)
    11. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
    12. hudson.model.Run.execute(Run.java:1738)
    13. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    14. hudson.model.ResourceController.execute(ResourceController.java:98)
    15. hudson.model.Executor.run(Executor.java:410)
    15 frames