Gradle plugin fails to save selected Gradle Version in Project configuration

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

XMLWordPrintable

      Hello,

      I have to following problem with the Gradle plugin for Jenkins:

      While editing the project configuration I am able to select one of the installed Gradle versions to use for "Invoke Gradle". After saving the project configuration, the value of "Gradle Version" falls back to "(Default)".

      Since I don't have (and don't intend to have) Gradle on the path, every build fails with the following message:

      [Gradle] - Launching build.
      [i4r-hire-build] $ cmd.exe /C gradle.bat build && exit %%ERRORLEVEL%%
      'gradle.bat' is not recognized as an internal or external command,
      operable program or batch file.
      Build step 'Invoke Gradle script' changed build result to FAILURE
      Build step 'Invoke Gradle script' marked build as failure
      Recording test results
      Finished: FAILURE
      

      I am using Gradle plugin version 1.19 and Jenkins version 1.481

            Assignee:
            Gregory Boissinot
            Reporter:
            Johannes Rost
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: