Polishing.

Extract artifactory credentials into properties file.

See #73
This commit is contained in:
Mark Paluch
2022-02-04 09:53:07 +01:00
parent d6d8461472
commit e56c2f2134
2 changed files with 3 additions and 2 deletions

4
Jenkinsfile vendored
View File

@@ -33,7 +33,7 @@ pipeline {
options { timeout(time: 20, unit: 'MINUTES') }
environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
}
steps {
@@ -61,7 +61,7 @@ pipeline {
options { timeout(time: 20, unit: 'MINUTES') }
environment {
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
}
steps {

View File

@@ -21,3 +21,4 @@ docker.java.inside.docker=-u root -v /var/run/docker.sock:/var/run/docker.sock -
# Credentials
docker.registry=
docker.credentials=hub.docker.com-springbuildmaster
artifactory.credentials=02bd1690-b54f-4c9f-819d-a77cb7a9822c