Skip buildscan for muzzle CI runs
This commit is contained in:
parent
6198662984
commit
5efd80ea52
|
@ -205,7 +205,7 @@ jobs:
|
||||||
# Note: we do not have `--max-workers` here to have number of workers (threads) equal to number of CPUs (32 currently).
|
# Note: we do not have `--max-workers` here to have number of workers (threads) equal to number of CPUs (32 currently).
|
||||||
# This should speed things up slightly because muzzle may do a lot of IO bound work: reading off disk and downloading
|
# This should speed things up slightly because muzzle may do a lot of IO bound work: reading off disk and downloading
|
||||||
# dependencies.
|
# dependencies.
|
||||||
command: GRADLE_OPTS="-Dorg.gradle.jvmargs=-Xmx8G -Xms64M" ./gradlew muzzle --parallel --stacktrace --no-daemon
|
command: SKIP_BUILDSCAN="true" GRADLE_OPTS="-Dorg.gradle.jvmargs=-Xmx8G -Xms64M" ./gradlew muzzle --parallel --stacktrace --no-daemon
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
key: dd-trace-java-muzzle-{{ checksum "dd-trace-java.gradle" }}
|
key: dd-trace-java-muzzle-{{ checksum "dd-trace-java.gradle" }}
|
||||||
|
|
|
@ -39,11 +39,13 @@ task latestDepTest {}
|
||||||
// Applied here to allow publishing of artifactory build info
|
// Applied here to allow publishing of artifactory build info
|
||||||
apply from: "${rootDir}/gradle/publish.gradle"
|
apply from: "${rootDir}/gradle/publish.gradle"
|
||||||
|
|
||||||
|
def skipBuildscan = Boolean.valueOf(System.getenv("SKIP_BUILDSCAN"))
|
||||||
|
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
|
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
|
||||||
termsOfServiceAgree = 'yes'
|
termsOfServiceAgree = 'yes'
|
||||||
|
|
||||||
if (isCI) {
|
if (isCI && !skipBuildscan) {
|
||||||
publishAlways()
|
publishAlways()
|
||||||
tag 'CI'
|
tag 'CI'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue