Jenkinsfile fixup

This commit is contained in:
JustFiesta 2024-05-02 18:40:16 +02:00
parent 78e0131a17
commit ca0fe24df1

4
Jenkinsfile vendored
View file

@ -74,7 +74,7 @@ pipeline {
NEXUS_CREDS = credentials('nexus-cred')
NEXUS_DOCKER_REPO_MAIN = '34.241.46.54:8084'
}
stages {
stage('Docker Build (Main)') {
when {
branch 'main'
@ -106,7 +106,7 @@ pipeline {
sh 'docker push $NEXUS_DOCKER_REPO_MAIN/spring-petclinic:${GIT_COMMIT}'
}
}
}
post {
always {
cleanWs()