From 637a2eba1b8fcd31179d2c336b3da510b653fa3c Mon Sep 17 00:00:00 2001 From: prasannakumar Date: Tue, 25 Jun 2024 08:56:07 +0530 Subject: [PATCH] added docker stage --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 264ec2527..958f94c41 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -72,7 +72,7 @@ pipeline { steps { script { - withDockerRegistry(credentialsId:"${DOCKER_REGISTRY_CREDENTIALS}") { + withDockerRegistry(credentialsId: 'Docker_cred', toolName: 'Docker', url: 'https://hub.docker.com') { sh "docker build -t prasannakumarsinganamalla431/petclinic:${BUILD_NUMBER} ."