mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 20:35:49 +00:00
change how variables are called
This commit is contained in:
parent
f19d6dd57e
commit
644f7ff875
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -43,7 +43,7 @@ pipeline {
|
||||||
def docker_image=docker.build("mr:8084/spring-petclinic:${GIT_COMMIT}")
|
def docker_image=docker.build("mr:8084/spring-petclinic:${GIT_COMMIT}")
|
||||||
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
|
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
|
||||||
|
|
||||||
docker_image.push('${GIT_COMMIT})
|
docker_image.push('${GIT_COMMIT}')
|
||||||
sh 'docker push mr:8084/spring-petclinic:${GIT_COMMIT}'
|
sh 'docker push mr:8084/spring-petclinic:${GIT_COMMIT}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue