From 83d1d8e36d02f47035532bfd86cf7ec1eebfb068 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 20 Nov 2023 10:51:53 +0000 Subject: [PATCH] Parameterize Artifactory repository names See gh-38394 --- ci/parameters.yml | 2 ++ ci/pipeline.yml | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ci/parameters.yml b/ci/parameters.yml index 56ad71a22b7..dc2a020e888 100644 --- a/ci/parameters.yml +++ b/ci/parameters.yml @@ -4,6 +4,8 @@ github-repository-uri: "https://github.com/spring-projects/spring-boot.git" homebrew-tap-repo: "https://github.com/spring-io/homebrew-tap.git" docker-hub-organization: "springci" docker-hub-repository-prefix: "spring-boot" +artifactory-snapshot-repository: "libs-snapshot-local" +artifactory-staging-repository: "libs-staging-local" artifactory-url: "https://repo.spring.io" branch: "2.7.x" milestone: "2.7.x" diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 2ed86ca1080..50c1be0ea89 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -58,7 +58,7 @@ anchors: artifactory-repo-put-params: &artifactory-repo-put-params signing_key: ((signing-key)) signing_passphrase: ((signing-passphrase)) - repo: libs-snapshot-local + repo: ((artifactory-snapshot-repository)) folder: distribution-repository build_uri: "https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}" build_number: "${BUILD_JOB_NAME}-${BUILD_NAME}" @@ -525,7 +525,7 @@ jobs: - put: artifactory-repo params: <<: *artifactory-repo-put-params - repo: libs-staging-local + repo: ((artifactory-staging-repository)) get_params: threads: 8 - put: git-repo @@ -548,7 +548,7 @@ jobs: - put: artifactory-repo params: <<: *artifactory-repo-put-params - repo: libs-staging-local + repo: ((artifactory-staging-repository)) get_params: threads: 8 - put: git-repo @@ -571,7 +571,7 @@ jobs: - put: artifactory-repo params: <<: *artifactory-repo-put-params - repo: libs-staging-local + repo: ((artifactory-staging-repository)) get_params: threads: 8 - put: git-repo