HHH-14634 : Gradle Enterprise
- temporarily move `publishAlways` to just CI runs until Gradle can clarify how to use that when users are not authenticated; I was originally told that `publishAlways` would simply skip publishing if credentials are not present, but that is clearly not the case
This commit is contained in:
parent
6d59fec436
commit
2967f6b40b
|
@ -17,7 +17,7 @@ gradleEnterprise {
|
||||||
termsOfServiceAgree = 'yes'
|
termsOfServiceAgree = 'yes'
|
||||||
|
|
||||||
captureTaskInputFiles = true
|
captureTaskInputFiles = true
|
||||||
publishAlways()
|
// publishAlways()
|
||||||
|
|
||||||
if ( System.getenv("CI") == null && System.getProperty("CI") == null ) {
|
if ( System.getenv("CI") == null && System.getProperty("CI") == null ) {
|
||||||
// not a CI job..
|
// not a CI job..
|
||||||
|
@ -25,6 +25,7 @@ gradleEnterprise {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// is CI job
|
// is CI job
|
||||||
|
publishAlways()
|
||||||
uploadInBackground = false
|
uploadInBackground = false
|
||||||
tag "JOB ${System.getenv('JOB_NAME')}"
|
tag "JOB ${System.getenv('JOB_NAME')}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue