diff --git a/Jenkinsfile b/Jenkinsfile index defd41f56..b8d3c4465 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,7 +32,7 @@ pipeline { options { timeout(time: 30, unit: 'MINUTES') } steps { sh 'rm -rf ?' - 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' } } } @@ -64,7 +64,7 @@ pipeline { "-Dartifactory.staging-repository=libs-snapshot-local " + "-Dartifactory.build-name=spring-data-rest-2.6 " + "-Dartifactory.build-number=${BUILD_NUMBER} " + - '-Dmaven.test.skip=true clean deploy -B' + '-Dmaven.test.skip=true clean deploy -U -B' } } stage('Release to artifactory with docs') { @@ -93,7 +93,7 @@ pipeline { "-Dartifactory.staging-repository=libs-snapshot-local " + "-Dartifactory.build-name=spring-data-rest-2.6 " + "-Dartifactory.build-number=${BUILD_NUMBER} " + - '-Dmaven.test.skip=true clean deploy -B' + '-Dmaven.test.skip=true clean deploy -U -B' } } }