mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15:49 +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} .'
|
sh 'docker build -t $NEXUS_DOCKER_REPO_MR/spring-petclinic:${GIT_COMMIT} .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Docker Login') {
|
stage('Docker Login (MR)') {
|
||||||
steps {
|
steps {
|
||||||
echo 'Nexus Docker Repository Login'
|
echo 'Nexus Docker Repository Login'
|
||||||
script{
|
script{
|
||||||
|
@ -71,7 +71,7 @@ pipeline {
|
||||||
sh 'docker build -t $NEXUS_DOCKER_REPO_MAIN/spring-petclinic:${GIT_COMMIT} .'
|
sh 'docker build -t $NEXUS_DOCKER_REPO_MAIN/spring-petclinic:${GIT_COMMIT} .'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Docker Login') {
|
stage('Docker Login (Main)') {
|
||||||
when {
|
when {
|
||||||
branch 'main'
|
branch 'main'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue