diff --git a/Jenkinsfile b/Jenkinsfile index f0676d24..f18caeba 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -31,7 +31,7 @@ pipeline { options { timeout(time: 30, unit: 'MINUTES') } steps { sh 'rm -rf ?' - sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci clean dependency:list test -Dsort -Dbundlor.enabled=false -B' + sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci clean dependency:list test -Dsort -Dbundlor.enabled=false -U -B' sh "chown -R 1001:1001 target" } } @@ -65,7 +65,7 @@ pipeline { "-Dartifactory.staging-repository=libs-snapshot-local " + "-Dartifactory.build-name=spring-data-couchbase-3.1 " + "-Dartifactory.build-number=${BUILD_NUMBER} " + - '-Dmaven.test.skip=true clean deploy -B' + '-Dmaven.test.skip=true clean deploy -U -B' } } @@ -95,7 +95,7 @@ pipeline { "-Dartifactory.staging-repository=libs-snapshot-local " + "-Dartifactory.build-name=spring-data-couchbase-3.1 " + "-Dartifactory.build-number=${BUILD_NUMBER} " + - '-Dmaven.test.skip=true clean deploy -B' + '-Dmaven.test.skip=true clean deploy -U -B' } } }