We transferred our project to gradle, and we continue to build on Jenkins. We use the gradle shell and the Jenkings gradle plugin.
I found out by looking at the console output that gradle will be loaded in each assembly:
11:24:42 Downloading http://services.gradle.org/distributions/gradle-1.5-bin.zip 11:24:48 ........................................................ 11:24:49 Unzipping /home/workspace/our_build/wrapper/dists/gradle-1.5-bin/9si5v6u7tk37kj5dlsrdcm595/gradle-1.5-bin.zip to /home/workspace/our_build/wrapper/dists/gradle-1.5-bin/9si5v6u7tk37kj5dlsrdcm595
I think the reason is that the accurev plugin will always clear the entire workspace for each run (cannot be disabled).
Can I customize gradle download location? Is it safe to use a common place for all tasks? Or is it better to have a job?
source share