java.io.IOException: Cannot run program "nohup" (in directory "D:\Jenkins\workspace\TestFrameworkWf"): CreateProcess error=2, The system cannot find the file specified

jenkins-ci.org | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    [JENKINS-26319] durable-task-plugin version 1.1 fail on windows with result "Cannot run program "nohup"" - Jenkins JIRA

    jenkins-ci.org | 10 months ago
    java.io.IOException: Cannot run program "nohup" (in directory "D:\Jenkins\workspace\TestFrameworkWf"): CreateProcess error=2, The system cannot find the file specified
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Cloning repository call git.exe

    GitHub | 3 years ago | Liryna
    hudson.plugins.git.GitException: Could not init /home/jenkins
  4. 0

    ERROR: Error cloning remote repo 'origin'

    Stack Overflow | 3 years ago | user3812054
    hudson.plugins.git.GitException: Could not init C:\Users\m.kothamasu\.jenkins\jobs\gvp web\workspace

  1. zbalint 16 times, last 5 days ago
  2. rp 1 times, last 5 months ago
  3. michallos 1 times, last 6 months ago
  4. eti22 1 times, last 7 months ago
  5. asdasd 24 times, last 8 months ago
3 more registered users
92 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:\Jenkins\workspace\TestFrameworkWf"): CreateProcess error=2, The system cannot find the file specified

    at java.lang.ProcessBuilder.start()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessBuilder.start(Unknown Source)
    1 frame
  3. Hudson
    Launcher$ProcStarter.start
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:803)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:381)
    4 frames
  4. org.jenkinsci.plugins
    FileMonitoringTask.launch
    1. org.jenkinsci.plugins.durabletask.BourneShellScript.doLaunch(BourneShellScript.java:101)
    2. org.jenkinsci.plugins.durabletask.FileMonitoringTask.launch(FileMonitoringTask.java:57)
    2 frames