This is an automated email from the ASF dual-hosted git repository.

sanjaydutt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new a01cc01630d  Develocity Access check (#3437)
a01cc01630d is described below

commit a01cc01630d0d81f00fd7e383aaf9823ed3df8fc
Author: Sanjay Dutt <[email protected]>
AuthorDate: Thu Jul 24 10:22:27 2025 +0530

     Develocity Access check (#3437)
---
 gradle/develocity.gradle | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gradle/develocity.gradle b/gradle/develocity.gradle
index acfeabafa4f..6715b542c98 100644
--- a/gradle/develocity.gradle
+++ b/gradle/develocity.gradle
@@ -27,7 +27,12 @@ develocity {
     buildScan {
         uploadInBackground = !isCIBuild
 
-        publishing.onlyIf { it.authenticated }
+        publishing.onlyIf { buildScan ->
+          println "Entered into build scan module..."
+          println "buildScan: ${buildScan}"
+          println "Develocity Authenticated: ${buildScan.authenticated}"
+          buildScan.authenticated
+        }
         obfuscation {
             ipAddresses { addresses -> addresses.collect { address -> 
"0.0.0.0"} }
         }
@@ -61,4 +66,4 @@ buildCache {
     remote(develocity.buildCache) {
         enabled = false
     }
-}
\ No newline at end of file
+}

Reply via email to