aboutsummaryrefslogtreecommitdiffstats
path: root/settings.gradle
diff options
context:
space:
mode:
authorEvgeny Mandrikov <138671+Godin@users.noreply.github.com>2019-05-15 17:30:10 +0200
committerSonarTech <sonartech@sonarsource.com>2019-05-15 20:21:12 +0200
commitd8d26012907e5cbe85b9c77275fdf6995a79ae94 (patch)
tree331828c3054cbde8fbff2c45d126fb1a940dd21a /settings.gradle
parentc24973e34ca984aeb43409a12a064b026abf5740 (diff)
downloadsonarqube-d8d26012907e5cbe85b9c77275fdf6995a79ae94.tar.gz
sonarqube-d8d26012907e5cbe85b9c77275fdf6995a79ae94.zip
Use Artifactory for Gradle remote cache (#1628)
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle6
1 files changed, 0 insertions, 6 deletions
diff --git a/settings.gradle b/settings.gradle
index 584f6792517..8e943421214 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -38,15 +38,9 @@ if (extraSettings.exists()) {
}
ext.isCiServer = System.getenv().containsKey("CIRRUS_CI")
-ext.isMasterBranch = System.getenv()["CIRRUS_BRANCH"] == "master"
buildCache {
local {
enabled = !isCiServer
}
- remote(HttpBuildCache) {
- url = 'http://' + System.getenv().getOrDefault("CIRRUS_HTTP_CACHE_HOST", "localhost:12321") + "/"
- enabled = isCiServer
- push = isMasterBranch
- }
}