Modified Jenkins file

pull/1601/head
Gaurav Katiyar 2018-05-30 14:29:14 +01:00
parent 2393a4d252
commit 65fbca8870
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -20,10 +20,10 @@ pipeline {
stages {
stage ('Build') {
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"
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 {