-
Bug
-
Resolution: Fixed
-
Minor
Since the script is invoking sh "${mvnHome}/bin/mvn clean install", it spews a really unpleasant exception without much details in the logs
java.io.IOException: Cannot run program "nohup" (in directory "C:\Program Files (x86)\Jenkins\workspace\fathertime"): CreateProcess error=2, The system cannot find the file specified
[JENKINS-33707] The built-in "GitHub + Maven" Pipeline script fails on Windows
Description |
Original:
Since the script is invoking {{sh "${mvnHome}/bin/mvn clean install"}}, it spews a really unpleasant exception without much details in the logs :( {code} java.io.IOException: Cannot run program "nohup" (in directory "C:\Program Files (x86)\Jenkins\workspace\fathertime"): CreateProcess error=2, The system cannot find the file specified {code} |
New:
Since the script is invoking {{sh "$\{mvnHome}/bin/mvn clean install"}}, it spews a really unpleasant exception without much details in the logs :( {code} java.io.IOException: Cannot run program "nohup" (in directory "C:\Program Files (x86)\Jenkins\workspace\fathertime"): CreateProcess error=2, The system cannot find the file specified {code} |
Workflow | Original: JNJira [ 169676 ] | New: JNJira + In-Review [ 183600 ] |
Component/s | New: pipeline-general [ 21692 ] |
Component/s | Original: workflow-plugin [ 18820 ] |
Component/s | New: workflow-cps-plugin [ 21713 ] | |
Component/s | Original: pipeline [ 21692 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Did not know this bug existed but PR 52 just fixed it.