Gradle wrapper command fails on Windows

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Starting a job using the Gradle Wrapper on a windows machine leads to an invallid command for Windows.

      This is the output:

      Started by user bjansen
      Building remotely on *******
      Updating http://******
      At revision 48667
      no change for http://******* since the previous build
      [test-job] $ cmd.exe /C "/F:\jenkins-slave\workspace\test-job/gradlew" build && exit %%ERRORLEVEL%%
      The filename, directory name, or volume label syntax is incorrect.
      Notifying upstream projects of job completion
      Finished: FAILURE
      

      The part /F:\jenkins-slave\workspace\test-job/gradlew should be corrected

            Assignee:
            Gregory Boissinot
            Reporter:
            bjansen
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: