Populate remote Gradle build cache from CI jobs
This commit is contained in:
parent
43627332cf
commit
b771afda5b
|
@ -82,6 +82,7 @@ jobs:
|
|||
- name: Run build script
|
||||
env:
|
||||
RDBMS: ${{ matrix.rdbms }}
|
||||
POPULATE_REMOTE_GRADLE_CACHE: true
|
||||
GRADLE_ENTERPRISE_ACCESS_KEY: "${{ secrets.DEVELOCITY_ACCESS_TOKEN }}"
|
||||
run: ./ci/build-github.sh
|
||||
shell: bash
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
ext {
|
||||
isCiEnvironment = isJenkins() || isGitHubActions() || isGenericCi()
|
||||
populateRemoteBuildCache = getSetting( "POPULATE_REMOTE" ).isPresent()
|
||||
populateRemoteBuildCache = getSetting( "POPULATE_REMOTE_GRADLE_CACHE" ).isPresent()
|
||||
}
|
||||
|
||||
private static boolean isJenkins() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
ext {
|
||||
isCiEnvironment = isJenkins() || isGitHubActions() || isGenericCi()
|
||||
populateRemoteBuildCache = getSetting( "POPULATE_REMOTE" ).isPresent()
|
||||
populateRemoteBuildCache = getSetting( "POPULATE_REMOTE_GRADLE_CACHE" ).isPresent()
|
||||
}
|
||||
|
||||
private static boolean isJenkins() {
|
||||
|
|
Loading…
Reference in New Issue