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 | 5 months ago
  1. 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 | 7 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
  2. 0

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

    jenkins-ci.org | 5 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
  3. 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 | 7 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4110#166001886

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

    Mac test failures: DebuggerTest

    GitHub | 1 month ago | acruise
    java.io.IOException: Cannot run program "xvfb-run" (in directory ".."): error=2, No such file or directory

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 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