Tag build scans with JDK-${toolchainVersion}

Closes gh-25525
pull/25709/head
Andy Wilkinson 4 years ago
parent 8ac6482784
commit 3f50b02049

@ -32,7 +32,11 @@ settings.gradle.projectsLoaded {
gradleEnterprise {
buildScan {
if (settings.gradle.rootProject.hasProperty('toolchainVersion')) {
value('Toolchain Version', settings.gradle.rootProject.getProperty('toolchainVersion'))
def toolchainVersion = settings.gradle.rootProject.findProperty('toolchainVersion')
if (toolchainVersion != null) {
value('Toolchain version', toolchainVersion)
tag("JDK-$toolchainVersion")
}
}
settings.gradle.rootProject.getBuildDir().mkdirs()

Loading…
Cancel
Save