Add more tags to build scans
This commit is contained in:
parent
6f640e1d6d
commit
bc14ea52eb
|
@ -124,6 +124,10 @@ stage('Build') {
|
||||||
state[buildEnv.tag]['additionalOptions'] = state[buildEnv.tag]['additionalOptions'] +
|
state[buildEnv.tag]['additionalOptions'] = state[buildEnv.tag]['additionalOptions'] +
|
||||||
" -Ptest.jdk.launcher.args='${buildEnv.testJdkLauncherArgs}'"
|
" -Ptest.jdk.launcher.args='${buildEnv.testJdkLauncherArgs}'"
|
||||||
}
|
}
|
||||||
|
if ( buildEnv.node ) {
|
||||||
|
state[buildEnv.tag]['additionalOptions'] = state[buildEnv.tag]['additionalOptions'] +
|
||||||
|
" -Pci.node=${buildEnv.node}"
|
||||||
|
}
|
||||||
state[buildEnv.tag]['containerName'] = null;
|
state[buildEnv.tag]['containerName'] = null;
|
||||||
stage('Checkout') {
|
stage('Checkout') {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
|
@ -50,6 +50,11 @@ gradleEnterprise {
|
||||||
tag "JOB ${System.getenv('JOB_NAME')}"
|
tag "JOB ${System.getenv('JOB_NAME')}"
|
||||||
}
|
}
|
||||||
tag "JDK ${JavaVersion.current().toString()}"
|
tag "JDK ${JavaVersion.current().toString()}"
|
||||||
value 'database', rootProject.hasProperty( 'db' ) ? rootProject.properties.db : 'h2'
|
String db = rootProject.hasProperty( 'db' ) ? rootProject.properties.db : 'h2'
|
||||||
|
tag db
|
||||||
|
value 'database', db
|
||||||
|
if ( rootProject.hasProperty( 'ci.node' ) ) {
|
||||||
|
tag rootProject.property('ci.node')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue