mirror of https://github.com/apache/kafka.git
MINOR: Capture build scans on ge.apache.org to benefit from deep build insights (#13676)
Reviewers: Mickael Maison <mickael.maison@gmail.com>, Ismael Juma <ismael@juma.me.uk>, Divij Vaidya <diviv@amazon.com>
This commit is contained in:
parent
b584e91036
commit
451fff8937
|
@ -39,7 +39,6 @@ plugins {
|
|||
id "io.swagger.core.v3.swagger-gradle-plugin" version "2.2.8"
|
||||
|
||||
id "com.github.spotbugs" version '5.0.13' apply false
|
||||
id 'org.gradle.test-retry' version '1.5.2' apply false
|
||||
id 'org.scoverage' version '7.0.1' apply false
|
||||
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
|
||||
id 'com.diffplug.spotless' version '6.14.0' apply false // 6.14.1 and newer require Java 11 at compile time, so we can't upgrade until AK 4.0
|
||||
|
@ -233,7 +232,6 @@ subprojects {
|
|||
apply plugin: 'java-library'
|
||||
apply plugin: 'checkstyle'
|
||||
apply plugin: "com.github.spotbugs"
|
||||
apply plugin: 'org.gradle.test-retry'
|
||||
|
||||
// We use the shadow plugin for the jmh-benchmarks module and the `-all` jar can get pretty large, so
|
||||
// don't publish it
|
||||
|
|
|
@ -13,6 +13,40 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
plugins {
|
||||
id 'com.gradle.enterprise' version '3.13.4'
|
||||
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.11'
|
||||
}
|
||||
|
||||
def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
|
||||
def isJenkins = System.getenv('JENKINS_URL') != null
|
||||
def isCI = isGithubActions || isJenkins
|
||||
|
||||
gradleEnterprise {
|
||||
server = "https://ge.apache.org"
|
||||
buildScan {
|
||||
capture { taskInputFiles = true }
|
||||
uploadInBackground = !isCI
|
||||
publishAlways()
|
||||
publishIfAuthenticated()
|
||||
obfuscation {
|
||||
// This obfuscates the IP addresses of the build machine in the build scan.
|
||||
// Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
|
||||
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buildCache {
|
||||
local {
|
||||
enabled = !isCI
|
||||
}
|
||||
|
||||
remote(gradleEnterprise.buildCache) {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
include 'clients',
|
||||
'connect:api',
|
||||
'connect:basic-auth-extension',
|
||||
|
|
Loading…
Reference in New Issue