added docker stage

This commit is contained in:
prasannakumar 2024-06-25 09:25:37 +05:30
parent 637a2eba1b
commit ad85e4f212

2
Jenkinsfile vendored
View file

@ -72,7 +72,7 @@ pipeline {
steps {
script {
withDockerRegistry(credentialsId: 'Docker_cred', toolName: 'Docker', url: 'https://hub.docker.com') {
withDockerRegistry(credentialsId: 'Docker_cred', toolName: 'Docker') {
sh "docker build -t prasannakumarsinganamalla431/petclinic:${BUILD_NUMBER} ."