HHH-14634 : Gradle Enterprise
- added JDK version as tag - added job-name (for CI) as tag
This commit is contained in:
parent
1238e5261d
commit
cbeedd1c32
|
@ -17,10 +17,19 @@ gradleEnterprise {
|
|||
termsOfServiceAgree = 'yes'
|
||||
|
||||
captureTaskInputFiles = true
|
||||
|
||||
publishAlways()
|
||||
uploadInBackground = System.getenv("CI") == null && System.getProperty("CI") == null
|
||||
|
||||
if ( System.getenv("CI") == null && System.getProperty("CI") == null ) {
|
||||
// not a CI job..
|
||||
uploadInBackground = true
|
||||
}
|
||||
else {
|
||||
// is CI job
|
||||
uploadInBackground = false
|
||||
tag "JOB ${System.getenv('JOB_NAME')}"
|
||||
}
|
||||
|
||||
tag "JDK ${JavaVersion.current().toString()}"
|
||||
value 'database', rootProject.hasProperty( 'db' ) ? rootProject.properties.db : 'h2'
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue