Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33707

The built-in "GitHub + Maven" Pipeline script fails on Windows

      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

          R. Tyler Croy created issue -
          Baptiste Mathus made changes -
          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}
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 169676 ] New: JNJira + In-Review [ 183600 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Component/s New: workflow-cps-plugin [ 21713 ]
          Component/s Original: pipeline [ 21692 ]

          Jesse Glick added a comment -

          Did not know this bug existed but PR 52 just fixed it.

          Jesse Glick added a comment - Did not know this bug existed but PR 52 just fixed it.
          Jesse Glick made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            jglick Jesse Glick
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: