Browse Source

DATAJDBC-376 - Force check for updates.

pull/165/head
Greg Turnquist 6 years ago
parent
commit
a234e51a2b
No known key found for this signature in database
GPG Key ID: CB2FA4D512B5C413
  1. 6
      Jenkinsfile

6
Jenkinsfile vendored

@ -32,7 +32,7 @@ pipeline {
options { timeout(time: 30, unit: 'MINUTES') } options { timeout(time: 30, unit: 'MINUTES') }
steps { steps {
sh 'rm -rf ?' sh 'rm -rf ?'
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,all-dbs clean dependency:list test -Dsort -B' sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -Pci,all-dbs clean dependency:list test -Dsort -U -B'
sh "chown -R 1001:1001 target" sh "chown -R 1001:1001 target"
} }
} }
@ -67,7 +67,7 @@ pipeline {
"-Dartifactory.staging-repository=libs-snapshot-local " + "-Dartifactory.staging-repository=libs-snapshot-local " +
"-Dartifactory.build-name=spring-data-jdbc " + "-Dartifactory.build-name=spring-data-jdbc " +
"-Dartifactory.build-number=${BUILD_NUMBER} " + "-Dartifactory.build-number=${BUILD_NUMBER} " +
'-Dmaven.test.skip=true clean deploy -B' '-Dmaven.test.skip=true clean deploy -U -B'
} }
} }
stage('Publish documentation') { stage('Publish documentation') {
@ -93,7 +93,7 @@ pipeline {
"-Dartifactory.username=${ARTIFACTORY_USR} " + "-Dartifactory.username=${ARTIFACTORY_USR} " +
"-Dartifactory.password=${ARTIFACTORY_PSW} " + "-Dartifactory.password=${ARTIFACTORY_PSW} " +
"-Dartifactory.distribution-repository=temp-private-local " + "-Dartifactory.distribution-repository=temp-private-local " +
'-Dmaven.test.skip=true clean deploy -B' '-Dmaven.test.skip=true clean deploy -U -B'
} }
} }
} }

Loading…
Cancel
Save