mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Tag the build scan with the JDK that was used
Closes gh-19615
This commit is contained in:
parent
4b57884535
commit
8a28e9bfa6
@ -1,4 +1,5 @@
|
||||
tagOs()
|
||||
tagJdk()
|
||||
tagIde()
|
||||
tagCiOrLocal()
|
||||
addGitMetadata()
|
||||
@ -7,6 +8,10 @@ void tagOs() {
|
||||
gradleEnterprise.buildScan.tag System.getProperty('os.name')
|
||||
}
|
||||
|
||||
void tagJdk() {
|
||||
gradleEnterprise.buildScan.tag "JDK-${System.getProperty('java.specification.version')}"
|
||||
}
|
||||
|
||||
void tagIde() {
|
||||
if (System.getProperty('idea.version')) {
|
||||
gradleEnterprise.buildScan.tag 'IntelliJ IDEA'
|
||||
|
Loading…
Reference in New Issue
Block a user