HHH-14634 : Gradle Enterprise
- re-enable `publishAlways` in addition to `publishIfAuthenticated`
This commit is contained in:
parent
2967f6b40b
commit
f618b47db4
|
@ -13,23 +13,16 @@ gradleEnterprise {
|
|||
server = 'https://ge.hibernate.org'
|
||||
|
||||
buildScan {
|
||||
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
|
||||
termsOfServiceAgree = 'yes'
|
||||
|
||||
captureTaskInputFiles = true
|
||||
// publishAlways()
|
||||
|
||||
if ( System.getenv("CI") == null && System.getProperty("CI") == null ) {
|
||||
// not a CI job..
|
||||
uploadInBackground = true
|
||||
}
|
||||
else {
|
||||
// is CI job
|
||||
publishAlways()
|
||||
uploadInBackground = false
|
||||
publishIfAuthenticated()
|
||||
|
||||
def isCi = System.getenv("CI") != null || System.getProperty("CI") != null
|
||||
uploadInBackground = !isCi
|
||||
|
||||
if ( isCi ) {
|
||||
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