File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments