Skip to content
Snippets Groups Projects
Commit 4c1bacef authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5907 update jenkinsfile change jar name schema

parent d69aed7b
Branches
Tags
No related merge requests found
...@@ -47,7 +47,7 @@ pipeline { ...@@ -47,7 +47,7 @@ pipeline {
steps { steps {
script { script {
FAILED_STAGE=env.STAGE_NAME FAILED_STAGE=env.STAGE_NAME
JAR_TAG = generateHelmChartVersion('pom.xml') JAR_TAG = generateImageTag('pom.xml')
} }
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
sh "mvn -s $MAVEN_SETTINGS versions:set -DnewVersion=${JAR_TAG} -DprocessAllModules=true -DgenerateBackupPoms=false" sh "mvn -s $MAVEN_SETTINGS versions:set -DnewVersion=${JAR_TAG} -DprocessAllModules=true -DgenerateBackupPoms=false"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment