From f7d3c589c19be19d379d37c87da35b855246829d Mon Sep 17 00:00:00 2001 From: Eric Haag Date: Thu, 6 Feb 2025 15:24:34 -0600 Subject: [PATCH] Disable background Build Scan publication for Gradle --- components/scripts/lib/gradle.sh | 1 + release/changes.md | 1 + 2 files changed, 2 insertions(+) diff --git a/components/scripts/lib/gradle.sh b/components/scripts/lib/gradle.sh index 4c2b2466..6438ec73 100644 --- a/components/scripts/lib/gradle.sh +++ b/components/scripts/lib/gradle.sh @@ -41,6 +41,7 @@ invoke_gradle() { -Ddevelocity.build-validation.runId="${RUN_ID}" -Ddevelocity.build-validation.runNum="${run_num}" -Ddevelocity.build-validation.scriptsVersion="${SCRIPT_VERSION}" + -Ddevelocity.build-scan.upload-in-background=false -Ddevelocity.capture-file-fingerprints=true -Dpts.enabled=false ) diff --git a/release/changes.md b/release/changes.md index 6cedbe34..bd2289fb 100644 --- a/release/changes.md +++ b/release/changes.md @@ -2,3 +2,4 @@ > The distributions of the Develocity Build Validation Scripts prefixed with `gradle-enterprise` are deprecated and will be removed in a future release. Migrate to the distributions prefixed with `develocity` instead. - [FIX] Successful exit code returned when performance characteristics are unknown and `--fail-if-not-fully-cacheable` is used +- [FIX] Gradle experiments do not disable background Build Scan publication