jenkinsci/gradle-plugin — pull request #12 by quidryan (2012-09-05 23:07:44+00:00)
Title: Set GRADLE_USER_HOME all the time

We have our home directory to read-only, so it detects things where builds are writing to a common location. I found that gradle will write to ~/.gradle by default, which is really bad for a multi-executor slave in Jenkins. Just setting the environment variable localized files to the workspace.