mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-24 19:32:48 +00:00
change how variables are called
This commit is contained in:
parent
5a6b36b855
commit
f19d6dd57e
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -40,11 +40,11 @@ pipeline {
|
|||
steps {
|
||||
checkout scm
|
||||
|
||||
def docker_image=docker.build("mr:8084/spring-petclinic:${env.GIT_COMMIT}")
|
||||
def docker_image=docker.build("mr:8084/spring-petclinic:${GIT_COMMIT}")
|
||||
sh 'docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS" mr:8084'
|
||||
|
||||
docker_image.push('${env.GIT_COMMIT})
|
||||
sh 'docker push mr:8084/spring-petclinic:${env.GIT_COMMIT}'
|
||||
docker_image.push('${GIT_COMMIT})
|
||||
sh 'docker push mr:8084/spring-petclinic:${GIT_COMMIT}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue