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

OZG-5907 update jenkinsfile

parent 4c1bacef
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ pipeline {
JAR_TAG = generateImageTag('pom.xml')
}
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"
}
}
......@@ -63,7 +63,7 @@ pipeline {
}
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn --no-transfer-progress -s $MAVEN_SETTINGS clean install -Dmaven.wagon.http.retryHandler.count=3 -DelasticTests.disabled=true'
sh "mvn -s $MAVEN_SETTINGS versions:revert"
}
}
}
......@@ -75,6 +75,7 @@ pipeline {
}
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn --no-transfer-progress -s $MAVEN_SETTINGS -DskipTests deploy -Dmaven.wagon.http.retryHandler.count=3'
sh "mvn -s $MAVEN_SETTINGS versions:revert"
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment