From f60074e2b5b8408b81097437b158f03d8f43ddd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Waldemar=20=C5=BBurowski?= <45210402+wzur-r3@users.noreply.github.com> Date: Tue, 13 Aug 2024 09:26:00 +0100 Subject: [PATCH] ES-758: use remote cache for nightly publishing (#7784) * JFrog is shutting down JCenter completely and it is not longer available * as very short-term solution switch nightly publishing to R3 Artifactory cache, which already has all necessary binaries downloaded from JCenter previously * add missing configuration for Develocity (formerly Gradle Enterprise) for remote caches --- .ci/dev/publish-branch/Jenkinsfile.nightly | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/dev/publish-branch/Jenkinsfile.nightly b/.ci/dev/publish-branch/Jenkinsfile.nightly index 23c835eb7b..6b6c5ac5b0 100644 --- a/.ci/dev/publish-branch/Jenkinsfile.nightly +++ b/.ci/dev/publish-branch/Jenkinsfile.nightly @@ -34,6 +34,10 @@ pipeline { // in the name ARTIFACTORY_BUILD_NAME = "Corda / Publish / Publish Nightly to Artifactory" .replaceAll("/", " :: ") + BUILD_CACHE_CREDENTIALS = credentials('gradle-ent-cache-credentials') + BUILD_CACHE_PASSWORD = "${env.BUILD_CACHE_CREDENTIALS_PSW}" + BUILD_CACHE_USERNAME = "${env.BUILD_CACHE_CREDENTIALS_USR}" + USE_CACHE = 'corda-remotes' DOCKER_URL = "https://index.docker.io/v1/" }