From d1848d7c041979a5c3147dac3c0a787a0b88624c Mon Sep 17 00:00:00 2001 From: TomPGrid Date: Fri, 28 Feb 2025 12:16:55 +0100 Subject: [PATCH] changed how push is invoked --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' } }