From 79cda3e5cc92864cd990fc99b15ec93e381ef01d Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 14 Jul 2022 16:06:06 +0100 Subject: [PATCH] Configure the Gradle Enterprise cache URL in the CI pipeline Closes gh-31696 --- ci/pipeline.yml | 1 + ci/tasks/build-project-windows.yml | 1 + ci/tasks/build-project.yml | 1 + ci/tasks/run-system-tests.yml | 1 + ci/tasks/stage.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 56a5fc4b77..f0db3236fb 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -14,6 +14,7 @@ anchors: password: ((docker-hub-mirror-password)) gradle-enterprise-task-params: &gradle-enterprise-task-params GRADLE_ENTERPRISE_ACCESS_KEY: ((gradle_enterprise_secret_access_key)) + GRADLE_ENTERPRISE_CACHE_URL: ((gradle_enterprise_cache_url)) GRADLE_ENTERPRISE_CACHE_USERNAME: ((gradle_enterprise_cache_user.username)) GRADLE_ENTERPRISE_CACHE_PASSWORD: ((gradle_enterprise_cache_user.password)) docker-hub-task-params: &docker-hub-task-params diff --git a/ci/tasks/build-project-windows.yml b/ci/tasks/build-project-windows.yml index 0dfadb95b7..817ee17482 100644 --- a/ci/tasks/build-project-windows.yml +++ b/ci/tasks/build-project-windows.yml @@ -8,6 +8,7 @@ params: BRANCH: CI: true GRADLE_ENTERPRISE_ACCESS_KEY: + GRADLE_ENTERPRISE_CACHE_URL: GRADLE_ENTERPRISE_CACHE_USERNAME: GRADLE_ENTERPRISE_CACHE_PASSWORD: GRADLE_ENTERPRISE_URL: https://ge.spring.io diff --git a/ci/tasks/build-project.yml b/ci/tasks/build-project.yml index b3e050d189..c3c9775e8d 100644 --- a/ci/tasks/build-project.yml +++ b/ci/tasks/build-project.yml @@ -12,6 +12,7 @@ params: BRANCH: CI: true GRADLE_ENTERPRISE_ACCESS_KEY: + GRADLE_ENTERPRISE_CACHE_URL: GRADLE_ENTERPRISE_CACHE_USERNAME: GRADLE_ENTERPRISE_CACHE_PASSWORD: GRADLE_ENTERPRISE_URL: https://ge.spring.io diff --git a/ci/tasks/run-system-tests.yml b/ci/tasks/run-system-tests.yml index b765279ec6..6dc0bef5c0 100644 --- a/ci/tasks/run-system-tests.yml +++ b/ci/tasks/run-system-tests.yml @@ -10,6 +10,7 @@ params: BRANCH: CI: true GRADLE_ENTERPRISE_ACCESS_KEY: + GRADLE_ENTERPRISE_CACHE_URL: GRADLE_ENTERPRISE_CACHE_USERNAME: GRADLE_ENTERPRISE_CACHE_PASSWORD: GRADLE_ENTERPRISE_URL: https://ge.spring.io diff --git a/ci/tasks/stage.yml b/ci/tasks/stage.yml index be41bb3e31..3ea8550eb5 100644 --- a/ci/tasks/stage.yml +++ b/ci/tasks/stage.yml @@ -8,6 +8,7 @@ outputs: params: RELEASE_TYPE: CI: true + GRADLE_ENTERPRISE_CACHE_URL: GRADLE_ENTERPRISE_CACHE_USERNAME: GRADLE_ENTERPRISE_CACHE_PASSWORD: GRADLE_ENTERPRISE_URL: https://ge.spring.io