Enable the remote build cache in BWC distribution builds (#54691)
This commit is contained in:
parent
f2590b9984
commit
7666276b09
|
@ -194,6 +194,10 @@ bwcVersions.forPreviousUnreleased { BwcVersions.UnreleasedVersionInfo unreleased
|
|||
if (gradle.startParameter.isOffline()) {
|
||||
args "--offline"
|
||||
}
|
||||
String buildCacheUrl = System.getProperty('org.elasticsearch.build.cache.url')
|
||||
if (buildCacheUrl) {
|
||||
args "-Dorg.elasticsearch.build.cache.url=${buildCacheUrl}"
|
||||
}
|
||||
|
||||
args "-Dbuild.snapshot=true"
|
||||
args "-Dscan.tag.NESTED"
|
||||
|
|
Loading…
Reference in New Issue