changed image name

This commit is contained in:
sridhar 2023-09-09 11:58:17 +05:30
parent dce5e09763
commit 4b262d7bb4

7
Jenkinsfile vendored
View file

@ -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'
}