Gradle wrapper command fails on Windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: gradle-plugin
    • None
    • Environment:
      Hudson master on Linux, Slave on Windows XP

      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
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: