Reputation: 465
in Jenkins, I have always used the option to install Gradle automatically from the Gradle.org server (Manage Jenkins -> Configure System -> Gradle Installations.
Now I have set up a new Jenkins installation on an Ubuntu 14 System. I installed the Gradle plugin, but now, when I choose "Install automatically" in the Gradle configuration, I am not able to choose the Gradle version that should be downloaded. Usually you get a select box with all available Gradle versions, but in my case, I only get an empty text field under "Install from Gradle.org".
Please see the screenshot https://i.sstatic.net/UhBBa.png
Upvotes: 1
Views: 3424
Reputation: 975
Using Check now
button did not work for me.
Nor re-installing the Gradle plugin.
I only got an empty text field under "Install from Gradle.org".
Although, changing browser from Firefox to Chrome helped.
I've lost 2 hours with this when I've finally figured this out. :)
Upvotes: 1
Reputation: 111625
The list of available Gradle versions shown in that UI is download perodically by Jenkins.
However, for Jenkins versions older than 1.619, the list was not fetched after installing a plugin for the first time.
So if you just have the empty text field, most likely the downloading has failed, or you have an older Jenkins version.
As a workaround, you can visit Manage Jenkins > Manage Plugins > Advanced, and click on Check now at the bottom of the page. This will trigger an update of the Gradle versions.
Upvotes: 7