Skip to content
Snippets Groups Projects
Commit c1103178 authored by Krzysztof Witukiewicz's avatar Krzysztof Witukiewicz
Browse files

OZG-8142 OZG-8182 Fix Jenkinsfile

parent 70f496bc
Branches
Tags
1 merge request!18Ozg 8142 multi module
......@@ -142,10 +142,10 @@ pipeline {
withCredentials([usernamePassword(credentialsId: 'jenkins-nexus-login', usernameVariable: 'USER', passwordVariable: 'PASSWORD')]) {
sh 'mvn -pl administration-server --no-transfer-progress -s $MAVEN_SETTINGS -Dspring-boot.build-image.publish=true -DskipTests -Dmaven.wagon.http.retryHandler.count=3 $BUILD_PROFILE -Ddocker.publishRegistry.username=${USER} -Ddocker.publishRegistry.password=${PASSWORD} -Dbuild.number=$BUILD_NUMBER spring-boot:build-image -Dspring-boot.build-image.imageName=docker.ozg-sh.de/administration:${IMAGE_TAG}'
}
}
sh 'mvn -s $MAVEN_SETTINGS versions:revert'
}
}
}
stage('Build Docker image administration') {
steps {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment