Modified Jenkins file
parent
67f584fa08
commit
98021f411a
|
@ -20,11 +20,9 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
steps {
|
steps {
|
||||||
timeout(time: 20, unit: 'MINUTES') {
|
sh "mvn versions:set -DnewVersion=1.3.3-${env.BUILD_NUMBER}"
|
||||||
sh 'mvn versions:set -DnewVersion=1.3.3-${env.BUILD_NUMBER}'
|
timeout(time: 10, unit: 'MINUTES') {
|
||||||
}
|
sh "mvn -B -V -U -T4 clean deploy -DaltDeploymentRepository=releases::default::https://nexus.greshamtech.com/content/repositories/thirdparty"
|
||||||
timeout(time: 20, unit: 'MINUTES') {
|
|
||||||
sh 'mvn -B -V -U -T4 clean deploy -DaltDeploymentRepository=releases::default::https://nexus.greshamtech.com/content/repositories/thirdparty'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
|
Loading…
Reference in New Issue