소스 검색

NO-JIRA removed code related to gradle enterprise trial

tags/10.4.0.87286
lukasz-jarocki-sonarsource 5 달 전
부모
커밋
29d1660ac6
2개의 변경된 파일1개의 추가작업 그리고 45개의 파일을 삭제
  1. 0
    9
      build.gradle
  2. 1
    36
      settings.gradle

+ 0
- 9
build.gradle 파일 보기

@@ -49,15 +49,6 @@ allprojects {
ext.versionWithoutBuildNumber = version
version = (version.toString().count('.') == 1 ? "${version}.0.${ext.buildNumber}" : "${version}.${ext.buildNumber}").toString()
}
tasks.matching { task -> task instanceof Test || task instanceof BlackBoxTest}.configureEach {
retry {
if (System.getenv('CI') == "true") {
maxRetries = 3
failOnPassedAfterRetry = true
}
}
}

task cacheDependencies {
doLast {

+ 1
- 36
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
}
}

Loading…
취소
저장