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} ."