Skip to content

Commit fe63206

Browse files
mp911desothawo
authored andcommitted
Polishing.
Extract Docker and Artifactory credentials into properties file. See #2074
1 parent ded447e commit fe63206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pipeline {
125125
steps {
126126
script {
127127
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
128-
docker.image(p['docker.java.lts.image']).inside(p['docker.java.inside.basic']) {
128+
docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) {
129129
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml -Pci,artifactory -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-elasticsearch-non-root ' +
130130
'-Dartifactory.server=https://repo.spring.io ' +
131131
"-Dartifactory.username=${ARTIFACTORY_USR} " +

0 commit comments

Comments
 (0)