From 2967f6b40bd93013aede6afb1a35acee9f4bb5cd Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Fri, 11 Jun 2021 10:20:14 -0500 Subject: [PATCH] HHH-14634 : Gradle Enterprise - temporarily move `publishAlways` to just CI runs until Gradle can clarify how to use that when users are not authenticated; I was originally told that `publishAlways` would simply skip publishing if credentials are not present, but that is clearly not the case --- gradle/gradle-enterprise.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gradle/gradle-enterprise.gradle b/gradle/gradle-enterprise.gradle index 1b61711c0e..952a4795d4 100644 --- a/gradle/gradle-enterprise.gradle +++ b/gradle/gradle-enterprise.gradle @@ -17,7 +17,7 @@ gradleEnterprise { termsOfServiceAgree = 'yes' captureTaskInputFiles = true - publishAlways() +// publishAlways() if ( System.getenv("CI") == null && System.getProperty("CI") == null ) { // not a CI job.. @@ -25,6 +25,7 @@ gradleEnterprise { } else { // is CI job + publishAlways() uploadInBackground = false tag "JOB ${System.getenv('JOB_NAME')}" }