Skip to content

Commit e139a31

Browse files
Reduce number of build pipeline steps.
Remove stage with MongoDB 6.0/Java 20 in favour of the newly introduced MongoDB 7.0/Java20 stage. See: #4501
1 parent 9058820 commit e139a31

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

Jenkinsfile

-22
Original file line numberDiff line numberDiff line change
@@ -219,28 +219,6 @@ pipeline {
219219
}
220220
}
221221

222-
stage("test: MongoDB 6.0 (next)") {
223-
agent {
224-
label 'data'
225-
}
226-
options { timeout(time: 30, unit: 'MINUTES') }
227-
environment {
228-
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
229-
}
230-
steps {
231-
script {
232-
docker.image("harbor-repo.vmware.com/dockerhub-proxy-cache/springci/spring-data-with-mongodb-6.0:${p['java.next.tag']}").inside(p['docker.java.inside.basic']) {
233-
sh 'mkdir -p /tmp/mongodb/db /tmp/mongodb/log'
234-
sh 'mongod --setParameter transactionLifetimeLimitSeconds=90 --setParameter maxTransactionLockRequestTimeoutMillis=10000 --dbpath /tmp/mongodb/db --replSet rs0 --fork --logpath /tmp/mongodb/log/mongod.log &'
235-
sh 'sleep 10'
236-
sh 'mongosh --eval "rs.initiate({_id: \'rs0\', members:[{_id: 0, host: \'127.0.0.1:27017\'}]});"'
237-
sh 'sleep 15'
238-
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml clean dependency:list test -Duser.name=jenkins -Dsort -U -B'
239-
}
240-
}
241-
}
242-
}
243-
244222
stage("test: MongoDB 7.0 (main)") {
245223
agent {
246224
label 'data'

0 commit comments

Comments
 (0)