Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Develocity Access check (#3437)

Sanjay Dutta01cc01630d0
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
+}