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

fix build/deploy image WIP

parent cdaaf077
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ pipeline {
container("quarkus-22"){
withCredentials([usernamePassword(credentialsId: 'jenkins-docker-login', usernameVariable: 'USER', passwordVariable: 'PASSWORD')]) {
configFileProvider([configFile(fileId: 'maven-settings', variable: 'MAVEN_SETTINGS')]) {
sh './mvnw -s $MAVEN_SETTINGS package -DskipTests -Pnative -Dquarkus.container-image.push=false -Dquarkus.container-image.build=true -Dmaven.wagon.http.retryHandler.count=3'
sh './mvnw -s $MAVEN_SETTINGS clean package -DskipTests -Pnative -Dquarkus.container-image.push=false -Dquarkus.container-image.build=true -Dmaven.wagon.http.retryHandler.count=3'
sh 'podman login docker.ozg-sh.de -u ${USER} -p ${PASSWORD}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment