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

cleanup - use environment

parent 0da7500f
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,9 @@ pipeline { ...@@ -10,6 +10,9 @@ pipeline {
RELEASE_REGEX = /\d+.\d+.\d+/ RELEASE_REGEX = /\d+.\d+.\d+/
SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/ SNAPSHOT_REGEX = /\d+.\d+.\d+-SNAPSHOT/
FAILED_STAGE = "" FAILED_STAGE = ""
//The container runtime (e.g. docker) that is used to do an image based build. If this is set then a container build is always done.
QUARKUS_NATIVE_CONTAINER_RUNTIME = "podman"
} }
options { options {
...@@ -59,7 +62,7 @@ pipeline { ...@@ -59,7 +62,7 @@ pipeline {
} }
container("quarkus-22"){ container("quarkus-22"){
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) { configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
sh './mvnw -s $MAVEN_SETTINGS package -Dnative -Dquarkus.container-image.build=true quarkus.container-image.builder=podman -Dquarkus.container-image.registry=docker.ozg-sh.de -Dquarkus.native.container-runtime=podman -Dmaven.wagon.http.retryHandler.count=3' sh './mvnw -s $MAVEN_SETTINGS package -Dnative -Dquarkus.container-image.registry=docker.ozg-sh.de -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