From 4b262d7bb440885fe15887116834a7375727136b Mon Sep 17 00:00:00 2001 From: sridhar Date: Sat, 9 Sep 2023 11:58:17 +0530 Subject: [PATCH] changed image name --- Jenkinsfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f9a23745f..340987ffb 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,8 +6,6 @@ pipeline{ git credentialsId: 'GIT_HUB_CREDENTIALS', url: 'https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git', branch: 'main' - - } } stage('artifact build'){ @@ -29,8 +27,9 @@ pipeline{ sh 'docker image tag spc-3.9.4 sridhar006/spc-mvn:${BUILD_ID}' sh 'docker push sridhar006/spc-mvn:${BUILD_ID}' - } - } stage("kubernetes deployment"){ + } + } + stage("kubernetes deployment"){ steps{ sh 'kubectl apply -f deployement.yaml' }