From 65fbca88701dc2c4207ac5b3eff5fc653a37a490 Mon Sep 17 00:00:00 2001 From: Gaurav Katiyar Date: Wed, 30 May 2018 14:29:14 +0100 Subject: [PATCH] Modified Jenkins file --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5ca7980a0..a3b72856b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 {