From 971fbf4f9d65ae3630f04d47ac640d2607b0aa50 Mon Sep 17 00:00:00 2001 From: Reuben George <157121779+rgeorgegrid@users.noreply.github.com> Date: Mon, 25 Mar 2024 23:47:20 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 29813a76d..ea578f71c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -35,7 +35,7 @@ pipeline { steps { script { def GIT_COMMIT_SHORT = sh(returnStdout: true, script: 'git rev-parse --short HEAD').trim() - def DOCKER_TAG = "${DOCKER_IMAGE_NAME}:${GIT_COMMIT_SHORT}" + env.DOCKER_TAG = "${DOCKER_IMAGE_NAME}:${GIT_COMMIT_SHORT}" sh "docker build -t ${DOCKER_TAG} ." } }