This is an automated email from the ASF dual-hosted git repository. damccorm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push: new 8f21e9e9990 Enable remote caching for Beam builds (#27015) 8f21e9e9990 is described below commit 8f21e9e999078118f31c26df821e42ec2eb9f5c4 Author: Clay Johnson <cjohn...@gradle.com> AuthorDate: Tue Jun 27 11:05:11 2023 -0500 Enable remote caching for Beam builds (#27015) --- .test-infra/jenkins/CommonJobProperties.groovy | 1 + settings.gradle.kts | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.test-infra/jenkins/CommonJobProperties.groovy b/.test-infra/jenkins/CommonJobProperties.groovy index 4cb7f330b8b..93c81ff9af3 100644 --- a/.test-infra/jenkins/CommonJobProperties.groovy +++ b/.test-infra/jenkins/CommonJobProperties.groovy @@ -108,6 +108,7 @@ class CommonJobProperties { credentialsBinding { string("CODECOV_TOKEN", "beam-codecov-token") string("COVERALLS_REPO_TOKEN", "beam-coveralls-token") + usernamePassword("GRADLE_ENTERPRISE_CACHE_USERNAME", "GRADLE_ENTERPRISE_CACHE_PASSWORD", "beam_cache_node_credentials") } timestamps() colorizeOutput() diff --git a/settings.gradle.kts b/settings.gradle.kts index 591c1b78833..adc66beb04f 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -49,8 +49,15 @@ buildCache { local { isEnabled = true } - remote(gradleEnterprise.buildCache) { - isEnabled = false + remote<HttpBuildCache> { + url = uri("https://beam-cache.apache.org/cache/") + isAllowUntrustedServer = false + credentials { + username = System.getenv("GRADLE_ENTERPRISE_CACHE_USERNAME") + password = System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD") + } + isEnabled = true + isPush = isCi } }