mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
Fixup: Renamed Docker Login stages - they threw an error
This commit is contained in:
parent
5b975a90a9
commit
548fa4e778
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -43,7 +43,7 @@ pipeline {
|
|||
sh 'docker build -t $NEXUS_DOCKER_REPO_MR/spring-petclinic:${GIT_COMMIT} .'
|
||||
}
|
||||
}
|
||||
stage('Docker Login') {
|
||||
stage('Docker Login (MR)') {
|
||||
steps {
|
||||
echo 'Nexus Docker Repository Login'
|
||||
script{
|
||||
|
@ -71,7 +71,7 @@ pipeline {
|
|||
sh 'docker build -t $NEXUS_DOCKER_REPO_MAIN/spring-petclinic:${GIT_COMMIT} .'
|
||||
}
|
||||
}
|
||||
stage('Docker Login') {
|
||||
stage('Docker Login (Main)') {
|
||||
when {
|
||||
branch 'main'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue