Modified Jenkins file
parent
2393a4d252
commit
65fbca8870
|
@ -20,10 +20,10 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh "mvn versions:set -DnewVersion=1.3.3.${env.BUILD_NUMBER}.RELEASE"
|
sh "mvn versions:set -DnewVersion=1.3.3.GRESHAM-SNAPSHOT"
|
||||||
sh "mvn -N versions:update-child-modules"
|
sh "mvn -N versions:update-child-modules"
|
||||||
timeout(time: 10, unit: 'MINUTES') {
|
timeout(time: 10, unit: 'MINUTES') {
|
||||||
sh "mvn -B -V -U -T4 clean deploy -DaltDeploymentRepository=releases::default::https://nexus.greshamtech.com/content/repositories/thirdparty"
|
sh "mvn -B -V -U -T4 clean deploy -DaltSnapshotDeploymentRepository=snapshots::default::https://nexus.greshamtech.com/content/repositories/snapshots/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
|
|
Loading…
Reference in New Issue