]> source.dussan.org Git - sonarqube.git/commitdiff
Use Artifactory for Gradle remote cache (#1628)
authorEvgeny Mandrikov <138671+Godin@users.noreply.github.com>
Wed, 15 May 2019 15:30:10 +0000 (17:30 +0200)
committerSonarTech <sonartech@sonarsource.com>
Wed, 15 May 2019 18:21:12 +0000 (20:21 +0200)
settings.gradle

index 584f6792517294edbf959d152c78e3226014fb2f..8e9434212145d8aaa8aad76670daf4f01ef139c2 100644 (file)
@@ -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
-  }
 }