java.io.IOException: Cannot run program "nohup" (in directory "d:\dev\jenkins\local\data\workspace\multibranch\master"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden

jenkins-ci.org | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Try updating IDE to 1.6.12 or further.
  2. 0

    Make dockerized pipelines executable when running Jenkins on a Windows platform (e.g. for testing purposes when no Unix box is at hand). When running [Docker-Toolbox|https://www.docker.com/products/docker-toolbox] on Windows, the "docker" command is available, but the plugin fails to invoke it because it uses the pipeline "sh" command (see https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#modifying-for-windows-variations) {noformat} java.io.IOException: Cannot run program "nohup" (in directory "d:\dev\jenkins\local\data\workspace\multibranch\master"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) [...] at org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(jar:file:/d:/dev/jenkins/local/data/plugins/docker-workflow/WEB-INF/lib/docker-workflow.jar!/org/jenkinsci/plugins/docker/workflow/Docker.groovy:106) at org.jenkinsci.plugins.docker.workflow.Docker.node(jar:file:/d:/dev/jenkins/local/data/plugins/docker-workflow/WEB-INF/lib/docker-workflow.jar!/org/jenkinsci/plugins/docker/workflow/Docker.groovy:63) at org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(jar:file:/d:/dev/jenkins/local/data/plugins/docker-workflow/WEB-INF/lib/docker-workflow.jar!/org/jenkinsci/plugins/docker/workflow/Docker.groovy:104) at WorkflowScript.run(WorkflowScript:4) [...] {noformat}

    Jenkins JIRA | 12 months ago | Martin E
    java.io.IOException: Cannot run program "nohup" (in directory "d:\dev\jenkins\local\data\workspace\multibranch\master"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden
  3. 0

    [JENKINS-34454] Add support for Docker-Toolbox/Windows - Jenkins JIRA

    jenkins-ci.org | 9 months ago
    java.io.IOException: Cannot run program "nohup" (in directory "d:\dev\jenkins\local\data\workspace\multibranch\master"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4110#166001886

    GitHub | 1 year ago | professorjmk
    java.io.IOException: Cannot run program "{path}/bin/avrdude": CreateProcess error=2, The system cannot find the file specified
  6. 0

    redeploy feature not working ?

    Google Groups | 5 months ago | Luis Trigueiros
    java.io.IOException: Cannot run program "WMIC": CreateProcess error=2, The system cannot find the file specified

  1. rp 1 times, last 4 months ago
  2. michallos 1 times, last 5 months ago
  3. eti22 1 times, last 6 months ago
  4. asdasd 24 times, last 7 months ago
  5. rexgreenza 8 times, last 7 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

    Cannot run program "nohup" (in directory "d:\dev\jenkins\local\data\workspace\multibranch\master"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden

    at java.lang.ProcessBuilder.start()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    1 frame