diff options
author | lukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com> | 2023-12-15 16:06:16 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-12-18 20:02:45 +0000 |
commit | 29d1660ac66c3838acf4b2071a03714e1724c58e (patch) | |
tree | 2a539b15670cff786f182b6c90c73f1485111a01 /settings.gradle | |
parent | 5a3a094a5d5bb563755aff80f985466d5400076a (diff) | |
download | sonarqube-29d1660ac66c3838acf4b2071a03714e1724c58e.tar.gz sonarqube-29d1660ac66c3838acf4b2071a03714e1724c58e.zip |
NO-JIRA removed code related to gradle enterprise trial
Diffstat (limited to 'settings.gradle')
-rw-r--r-- | settings.gradle | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/settings.gradle b/settings.gradle index fb8938449ff..b7ed03a7c55 100644 --- a/settings.gradle +++ b/settings.gradle @@ -10,31 +10,6 @@ pluginManagement { } } -plugins { - id 'com.gradle.enterprise' version '3.15.1' -} -ext.isCiServer = System.getenv().containsKey("CIRRUS_CI") - -gradleEnterprise { - if (System.getenv().containsKey('GRADLE_ENTERPRISE_URL')) { - server = System.env.'GRADLE_ENTERPRISE_URL' - } - allowUntrustedServer = true // ensure a trusted certificate is configured - - if (isCiServer) { - accessKey = System.env.'GRADLE_ENTERPRISE_KEY' - } - - buildScan { - capture { taskInputFiles = true } - uploadInBackground = false - publishAlwaysIf( isCiServer ) - } - if (System.getenv().containsKey('CIRRUS_BRANCH')) { - buildScan.value 'BranchName', System.env.'CIRRUS_BRANCH' - } -} - rootProject.name = 'sonarqube' include 'plugins:sonar-xoo-plugin' @@ -87,6 +62,7 @@ include 'sonar-ws-generator' include 'test-monitoring' include 'ut-monitoring' +ext.isCiServer = System.getenv().containsKey("CIRRUS_CI") // use Settings.getRootDir() so that it doesn't matter which directory you are executing from File extraSettings = new File(rootDir, 'private/private-settings.gradle') @@ -98,15 +74,4 @@ buildCache { local { enabled = !isCiServer } - - remote(HttpBuildCache) { - url = System.env.'GRADLE_ENTERPRISE_URL' + '/cache/' - allowUntrustedServer = true - credentials { creds -> - creds.username = System.env.'GRADLE_ENTERPRISE_USERNAME' - creds.password = System.env.'GRADLE_ENTERPRISE_PASSWORD' - } - enabled = true - push = isCiServer - } }
\ No newline at end of file |