summaryrefslogtreecommitdiff
path: root/vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
diff options
context:
space:
mode:
authorDJ Mountney <david@twkie.net>2017-03-08 15:16:47 -0800
committerDJ Mountney <david@twkie.net>2017-03-08 15:16:47 -0800
commit65f6abffc4349131ebb75f8ded0f417933c4a50e (patch)
tree24b702147ab9d37ef66eb5500a86370fe286de81 /vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
parent1110b2f18c1a5397df71979fcc3fc8fabe87576d (diff)
downloadgitlab-ce-65f6abffc4349131ebb75f8ded0f417933c4a50e.tar.gz
Update the gitignore and gitlab-ci templates for 9.0
Diffstat (limited to 'vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml')
-rw-r--r--vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml b/vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
index 98d3039ad06..a65e48a3389 100644
--- a/vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
+++ b/vendor/gitlab-ci-yml/Gradle.gitlab-ci.yml
@@ -6,6 +6,13 @@
# https://github.com/gradle/gradle
image: java:8
+# Disable the Gradle daemon for Continuous Integration servers as correctness
+# is usually a priority over speed in CI environments. Using a fresh
+# runtime for each build is more reliable since the runtime is completely
+# isolated from any previous builds.
+variables:
+ GRADLE_OPTS: "-Dorg.gradle.daemon=false"
+
# Make the gradle wrapper executable. This essentially downloads a copy of
# Gradle to build the project with.
# https://docs.gradle.org/current/userguide/gradle_wrapper.html