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

Gradle wrapper command fails on Windows

    Details

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

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              bjansen bjansen
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: