|
|
|
|
@ -36,7 +36,7 @@ pipeline {
@@ -36,7 +36,7 @@ pipeline {
|
|
|
|
|
sh 'sleep 10' |
|
|
|
|
sh 'mongo --eval "rs.initiate({_id: \'rs0\', members:[{_id: 0, host: \'127.0.0.1:27017\'}]});"' |
|
|
|
|
sh 'sleep 15' |
|
|
|
|
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw clean dependency:list test -Dsort -B' |
|
|
|
|
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw clean dependency:list test -Dsort -U -B' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -70,7 +70,7 @@ pipeline {
@@ -70,7 +70,7 @@ pipeline {
|
|
|
|
|
"-Dartifactory.staging-repository=libs-snapshot-local " + |
|
|
|
|
"-Dartifactory.build-name=spring-data-mongodb-1.10 " + |
|
|
|
|
"-Dartifactory.build-number=${BUILD_NUMBER} " + |
|
|
|
|
'-Dmaven.test.skip=true clean deploy -B' |
|
|
|
|
'-Dmaven.test.skip=true clean deploy -U -B' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -100,7 +100,7 @@ pipeline {
@@ -100,7 +100,7 @@ pipeline {
|
|
|
|
|
"-Dartifactory.staging-repository=libs-snapshot-local " + |
|
|
|
|
"-Dartifactory.build-name=spring-data-mongodb-1.10 " + |
|
|
|
|
"-Dartifactory.build-number=${BUILD_NUMBER} " + |
|
|
|
|
'-Dmaven.test.skip=true clean deploy -B' |
|
|
|
|
'-Dmaven.test.skip=true clean deploy -U -B' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|