Skip to content

Commit dec68d7

Browse files
committed
Polishing.
Externalize artifactory credentials identifier. See #726
1 parent 7089b56 commit dec68d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pipeline {
3333

3434
environment {
3535
DOCKER_HUB = credentials('hub.docker.com-springbuildmaster')
36-
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
36+
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
3737
}
3838

3939
steps {
@@ -66,7 +66,7 @@ pipeline {
6666

6767
environment {
6868
DOCKER_HUB = credentials('hub.docker.com-springbuildmaster')
69-
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
69+
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
7070
}
7171

7272
steps {
@@ -90,7 +90,7 @@ pipeline {
9090

9191
environment {
9292
DOCKER_HUB = credentials('hub.docker.com-springbuildmaster')
93-
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
93+
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
9494
}
9595

9696
steps {
@@ -122,7 +122,7 @@ pipeline {
122122
options { timeout(time: 20, unit: 'MINUTES') }
123123

124124
environment {
125-
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
125+
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
126126
}
127127

128128
steps {

0 commit comments

Comments
 (0)