DATAMONGO-2342 - Upgrade ci job to MongoDB 4.2

Original pull request: #778.
This commit is contained in:
Christoph Strobl
2019-08-14 14:04:17 +02:00
committed by Mark Paluch
parent 73fab14b21
commit bcd8f242e5
2 changed files with 31 additions and 1 deletions

18
Jenkinsfile vendored
View File

@@ -46,6 +46,22 @@ pipeline {
}
}
}
stage('Publish JDK 8 + MongoDB 4.2') {
when {
changeset "ci/openjdk8-mongodb-4.2/**"
}
agent { label 'data' }
options { timeout(time: 30, unit: 'MINUTES') }
steps {
script {
def image = docker.build("springci/spring-data-openjdk8-with-mongodb-4.2", "ci/openjdk8-mongodb-4.2/")
docker.withRegistry('', 'hub.docker.com-springbuildmaster') {
image.push()
}
}
}
}
}
}
@@ -58,7 +74,7 @@ pipeline {
}
agent {
docker {
image 'springci/spring-data-openjdk8-with-mongodb-4.0:latest'
image 'springci/spring-data-openjdk8-with-mongodb-4.2:latest'
label 'data'
args '-v $HOME:/tmp/jenkins-home'
}