From 644f7ff875703d76e2abd7885a27dbf2e189e526 Mon Sep 17 00:00:00 2001 From: TomPGrid Date: Fri, 28 Feb 2025 12:10:22 +0100 Subject: [PATCH] change how variables are called --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6431446da..b36878318 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('${GIT_COMMIT}') sh 'docker push mr:8084/spring-petclinic:${GIT_COMMIT}' } }