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

OZG-2651 add echo to debug deploy step

parent b67a33bc
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,8 @@ pipeline {
def rootPom = readMavenPom file: 'pom.xml'
def rootVersion = rootPom.version
echo 'OUTPUT rootPom: ' + rootPom;
if(env.BRANCH_NAME == 'release'){
if ( !(rootVersion ==~ RELEASE_REGEX)) {
error("Keine Release Version für Branch ${env.BRANCH_NAME}.")
......@@ -83,8 +85,9 @@ pipeline {
sh 'mvn --version'
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
dir('user-manager') {
echo 'OUTPUT mave settings: ' + '$MAVEN_SETTINGS'
//sh 'mvn -s $MAVEN_SETTINGS package -Dnative -Dquarkus.native.container-build=true -Dquarkus.native.reuse-existing=true -DskipTests -Dmaven.wagon.http.retryHandler.count=3'
sh 'mvn -s $MAVEN_SETTINGS clean package -Dquarkus.container-image.build=true'
sh 'mvn -s $MAVEN_SETTINGS clean package -Dquarkus.container-image.build=true -DskipTests -Dmaven.wagon.http.retryHandler.count=3'
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment