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'
|
server = 'https://ge.hibernate.org'
|
||||||
|
|
||||||
buildScan {
|
buildScan {
|
||||||
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
|
|
||||||
termsOfServiceAgree = 'yes'
|
|
||||||
|
|
||||||
captureTaskInputFiles = true
|
captureTaskInputFiles = true
|
||||||
// publishAlways()
|
publishAlways()
|
||||||
|
publishIfAuthenticated()
|
||||||
|
|
||||||
if ( System.getenv("CI") == null && System.getProperty("CI") == null ) {
|
def isCi = System.getenv("CI") != null || System.getProperty("CI") != null
|
||||||
// not a CI job..
|
uploadInBackground = !isCi
|
||||||
uploadInBackground = true
|
|
||||||
}
|
if ( isCi ) {
|
||||||
else {
|
|
||||||
// is CI job
|
|
||||||
publishAlways()
|
|
||||||
uploadInBackground = false
|
|
||||||
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'
|
value 'database', rootProject.hasProperty( 'db' ) ? rootProject.properties.db : 'h2'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue