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 {