diff --git a/Jenkinsfile b/Jenkinsfile index 6eae1e827..c6c1a2576 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -43,7 +43,7 @@ pipeline { 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('$GIT_COMMIT') + docker_image.push() sh 'docker push mr:8084/spring-petclinic:$GIT_COMMIT' } }