mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Jenkinsfile fixup
This commit is contained in:
parent
78e0131a17
commit
ca0fe24df1
1 changed files with 3 additions and 3 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue