|
|
|
|
@ -32,7 +32,7 @@ pipeline {
@@ -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 -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" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@ -67,7 +67,7 @@ pipeline {
@@ -67,7 +67,7 @@ pipeline {
|
|
|
|
|
"-Dartifactory.staging-repository=libs-snapshot-local " + |
|
|
|
|
"-Dartifactory.build-name=spring-data-jdbc " + |
|
|
|
|
"-Dartifactory.build-number=${BUILD_NUMBER} " + |
|
|
|
|
'-Dmaven.test.skip=true clean deploy -B' |
|
|
|
|
'-Dmaven.test.skip=true clean deploy -U -B' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
stage('Publish documentation') { |
|
|
|
|
@ -93,7 +93,7 @@ pipeline {
@@ -93,7 +93,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' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|