From e738009c56e128b1578ecc516341b244ce9b9668 Mon Sep 17 00:00:00 2001 From: Divya Patel <113757574+Divya4242@users.noreply.github.com> Date: Tue, 14 May 2024 16:15:15 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index ed39b0e..3f697cd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -57,6 +57,7 @@ pipeline { script { // Build Docker image for Node Backend sh 'whoami' + sh 'node -v' dockerImage = docker.build("${DOCKER_IMAGE_NAME}:backendjenkins", " ./server") docker.withRegistry( '', 'docker-id' ) { dockerImage.push("backendjenkins")