diff --git a/Jenkinsfile b/Jenkinsfile index 9fa5b6f7f..95d1c227d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 { "-Dartifactory.staging-repository=libs-snapshot-local " + "-Dartifactory.build-name=spring-data-mongodb-2.1 " + "-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 { "-Dartifactory.staging-repository=libs-snapshot-local " + "-Dartifactory.build-name=spring-data-mongodb-2.1 " + "-Dartifactory.build-number=${BUILD_NUMBER} " + - '-Dmaven.test.skip=true clean deploy -B' + '-Dmaven.test.skip=true clean deploy -U -B' } } }