Skip to content

Commit 83d1d8e

Browse files
committed
Parameterize Artifactory repository names
See gh-38394
1 parent 81ced3e commit 83d1d8e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

ci/parameters.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ github-repository-uri: "https://github.com/spring-projects/spring-boot.git"
44
homebrew-tap-repo: "https://github.com/spring-io/homebrew-tap.git"
55
docker-hub-organization: "springci"
66
docker-hub-repository-prefix: "spring-boot"
7+
artifactory-snapshot-repository: "libs-snapshot-local"
8+
artifactory-staging-repository: "libs-staging-local"
79
artifactory-url: "https://repo.spring.io"
810
branch: "2.7.x"
911
milestone: "2.7.x"

ci/pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ anchors:
5858
artifactory-repo-put-params: &artifactory-repo-put-params
5959
signing_key: ((signing-key))
6060
signing_passphrase: ((signing-passphrase))
61-
repo: libs-snapshot-local
61+
repo: ((artifactory-snapshot-repository))
6262
folder: distribution-repository
6363
build_uri: "https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}"
6464
build_number: "${BUILD_JOB_NAME}-${BUILD_NAME}"
@@ -525,7 +525,7 @@ jobs:
525525
- put: artifactory-repo
526526
params:
527527
<<: *artifactory-repo-put-params
528-
repo: libs-staging-local
528+
repo: ((artifactory-staging-repository))
529529
get_params:
530530
threads: 8
531531
- put: git-repo
@@ -548,7 +548,7 @@ jobs:
548548
- put: artifactory-repo
549549
params:
550550
<<: *artifactory-repo-put-params
551-
repo: libs-staging-local
551+
repo: ((artifactory-staging-repository))
552552
get_params:
553553
threads: 8
554554
- put: git-repo
@@ -571,7 +571,7 @@ jobs:
571571
- put: artifactory-repo
572572
params:
573573
<<: *artifactory-repo-put-params
574-
repo: libs-staging-local
574+
repo: ((artifactory-staging-repository))
575575
get_params:
576576
threads: 8
577577
- put: git-repo

0 commit comments

Comments
 (0)