diff --git a/Jenkinsfile b/Jenkinsfile index 6a1aaf667..08cc6211f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -59,7 +59,7 @@ pipeline { sh 'make start' // Execute maven test - sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw clean test -DrunLongTests=true -B' + sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw clean test -DrunLongTests=true -U -B' // Capture resulting exit code from maven (pass/fail) sh 'RESULT=\$?' @@ -104,7 +104,7 @@ pipeline { "-Dartifactory.staging-repository=libs-snapshot-local " + "-Dartifactory.build-name=spring-data-redis " + "-Dartifactory.build-number=${BUILD_NUMBER} " + - '-Dmaven.test.skip=true clean deploy -B' + '-Dmaven.test.skip=true clean deploy -U -B' } } @@ -131,7 +131,7 @@ pipeline { "-Dartifactory.username=${ARTIFACTORY_USR} " + "-Dartifactory.password=${ARTIFACTORY_PSW} " + "-Dartifactory.distribution-repository=temp-private-local " + - '-Dmaven.test.skip=true clean deploy -B' + '-Dmaven.test.skip=true clean deploy -U -B' } } }