From 78f291f7261f9d2ced8ee34c662c170d2ca6e247 Mon Sep 17 00:00:00 2001 From: Johannes Innerbichler Date: Tue, 18 Dec 2018 16:28:29 +0100 Subject: [PATCH] Changed version injection. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2bd2707..55a8013 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,8 +85,8 @@ node('nimble-jenkins-slave') { } stage('Set version') { - sh 'mvn versions:set -DnewVersion=' + env.TAG_NAME - sh 'mvn -f data-channel-service/pom.xml versions:set -DnewVersion=' + env.TAG_NAME + sh 'mvn org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=' + env.TAG_NAME + sh 'mvn -f data-channel-service/pom.xml org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=' + env.TAG_NAME } stage('Build Java') {