Skip to content

Commit fbcaeb1

Browse files
committed
Use Java 8 to build snapshots for Artifactory.
Closes #2095
1 parent 457a6e7 commit fbcaeb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ pipeline {
125125
steps {
126126
script {
127127
docker.withRegistry(p['docker.registry'], p['docker.credentials']) {
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)