dsmiley commented on code in PR #2264:
URL: https://github.com/apache/solr/pull/2264#discussion_r1490141634
##########
gradle/ge.gradle:
##########
@@ -27,6 +31,25 @@ gradleEnterprise {
obfuscation {
ipAddresses { addresses -> addresses.collect { address ->
"0.0.0.0"} }
}
+
+ tag("JDK" + System.getProperty("java.version").find(/\d+/)) // major
version
+ value("Java Vendor", System.getProperty("java.vendor"))
+ value("Java Version", System.getProperty("java.version"))
+
+ // Jenkins job name, less redundant "Solr" parts
+ String jenkinsJobName = System.getenv("JOB_NAME")
+ if (jenkinsJobName) { // looks like "Solr/Solr-Smoketest-9.5"
+ tag(jenkinsJobName.replaceAll(/Solr\W/,"")) // like "Smoketest-9.5"
Review Comment:
Wanted to keep tags short
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]