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
I am using Gradle plugin version 1.19 and Jenkins version 1.481