From 992ea96d5280fc2fae40aae862597ea2f5a0f8b0 Mon Sep 17 00:00:00 2001 From: "SHAIK.SOHAIL" <121076079+shaiksohail11@users.noreply.github.com> Date: Wed, 15 Mar 2023 14:25:54 +0530 Subject: [PATCH] Update Jenkinsfile2 --- Jenkinsfile2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index 6646b0d75..0df5d2759 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -7,15 +7,15 @@ pipeline { stages{ stage('vcs') { - steps{ + steps { git url: 'https://github.com/shaiksohail11/spring-petclinic.git', branch: 'main' } } stage('Build') { - steps{ - sh 'docker image build -t shaik1128/spring-petclinic:3.0 .', + steps { + sh 'docker image build -t shaik1128/spring-petclinic:3.0 .' sh 'docker push shaik1128/spring-petclinic:3.0' } }