From fd2c1e0406a76b8cf2ebb6691cf580f6025ff4f5 Mon Sep 17 00:00:00 2001 From: daz Date: Mon, 28 Aug 2023 11:26:03 -0600 Subject: [PATCH] Fix init script --- .../gradle-build-action.inject-gradle-enterprise.init.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/init-scripts/gradle-build-action.inject-gradle-enterprise.init.gradle b/src/resources/init-scripts/gradle-build-action.inject-gradle-enterprise.init.gradle index 5e2c3e9..6e40341 100644 --- a/src/resources/init-scripts/gradle-build-action.inject-gradle-enterprise.init.gradle +++ b/src/resources/init-scripts/gradle-build-action.inject-gradle-enterprise.init.gradle @@ -145,7 +145,7 @@ if (GradleVersion.current() < GradleVersion.version('6.0')) { ext.server = geUrl ext.allowUntrustedServer = geAllowUntrustedServer ext.buildScan.publishAlways() - ext.buildScan.uploadInBackground = false + ext.buildScan.uploadInBackground = buildScanUploadInBackground ext.buildScan.value CI_AUTO_INJECTION_CUSTOM_VALUE_NAME, CI_AUTO_INJECTION_CUSTOM_VALUE_VALUE } }