mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 22:35:50 +00:00
fixed typo in repo variable
This commit is contained in:
parent
59743758cd
commit
0735d09dfb
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -28,7 +28,7 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
def branch = env.BRANCH_NAME
|
def branch = env.BRANCH_NAME
|
||||||
def dockerRepo = (branch == 'main') ? 'main' : 'mr'
|
def dockerRepo = (branch == 'main') ? 'main' : 'mr'
|
||||||
def imageTag = "${DOCKER_HUB_USER}/${repo}:${GIT_COMMIT_SHORT}"
|
def imageTag = "${DOCKER_HUB_USER}/${dockerRepo}:${GIT_COMMIT_SHORT}"
|
||||||
|
|
||||||
withCredentials([usernamePassword(
|
withCredentials([usernamePassword(
|
||||||
credentialsId: DOCKERHUB_CREDES,
|
credentialsId: DOCKERHUB_CREDES,
|
||||||
|
|
Loading…
Reference in a new issue