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

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

    Details

    • Similar Issues:

      Description

      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
      

        Attachments

          Activity

          rtyler R. Tyler Croy created issue -
          batmat Baptiste Mathus made changes -
          Field Original Value New Value
          Description 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}
          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}
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 169676 ] JNJira + In-Review [ 183600 ]
          abayer Andrew Bayer made changes -
          Component/s pipeline-general [ 21692 ]
          abayer Andrew Bayer made changes -
          Component/s workflow-plugin [ 18820 ]
          jglick Jesse Glick made changes -
          Component/s workflow-cps-plugin [ 21713 ]
          Component/s pipeline [ 21692 ]
          Hide
          jglick Jesse Glick added a comment -

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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: