java.io.IOException: Cannot run program "sh" (in directory "C:\Program Files (x86)\Jenkins\workspace\TEST *** QUA"): CreateProcess error=2, Le fichier spécifié est introuvable

developpez.net | 4 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

    Exxécuter un Cas de test Robot framework sur Jenkins

    developpez.net | 4 months ago
    java.io.IOException: Cannot run program "sh" (in directory "C:\Program Files (x86)\Jenkins\workspace\TEST *** QUA"): CreateProcess error=2, Le fichier spécifié est introuvable
  2. 0

    Run a command shell in jenkins

    Stack Overflow | 2 years ago | Med braim
    java.io.IOException: Cannot run program "sh" (in directory "C:\Program Files (x86)\Jenkins\workspace\test"): CreateProcess error=2, Le fichier spécifié est introuvable
  3. 0

    How to Run job on Jenkins with Selenium Server

    Stack Overflow | 2 years ago | Khalid Ksouri
    java.io.IOException: Cannot run program "cmd" (in directory "/appli/projects/jenkins_atos/jenkins/workspace/STM_V1_V2_TESTS"): java.io.IOException: error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot run program "mvn" error=2, No such file or directory

    Stack Overflow | 2 years ago | Mario Dennis
    java.io.IOException: Cannot run program "mvn" (in directory "/var/lib/jenkins/workspace/videovixx"): error=2, No such file or directory
  6. 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

  1. rp 1 times, last 2 months ago
  2. michallos 1 times, last 3 months ago
  3. eti22 1 times, last 4 months ago
  4. asdasd 24 times, last 5 months ago
  5. rexgreenza 8 times, last 5 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, Le fichier spécifié est introuvable

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(Unknown Source)
    3. java.lang.ProcessImpl.start(Unknown Source)
    4. java.lang.ProcessBuilder.start(Unknown Source)
    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:779)
    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:1741)
    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