diff --git a/Jenkinsfile b/Jenkinsfile index c0675c9..190c1b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,6 @@ pipeline { stage('Build Docker image'){ steps { - sh 'docker build -t anvbhaskar/docker_jenkins_springboot:${BUILD_NUMBER} .' } } @@ -27,7 +26,7 @@ pipeline { steps { withCredentials([string(credentialsId: 'DockerId', variable: 'Dockerpwd')]) { - sh "docker login -u anvbhaskar -p ${Dockerpwd}" + sh "docker login -u 7395963333 -p ${Dockerpwd}" } } }