mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 08:15:49 +00:00
changed image name
This commit is contained in:
parent
dce5e09763
commit
4b262d7bb4
1 changed files with 3 additions and 4 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -6,8 +6,6 @@ pipeline{
|
||||||
git credentialsId: 'GIT_HUB_CREDENTIALS',
|
git credentialsId: 'GIT_HUB_CREDENTIALS',
|
||||||
url: 'https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git',
|
url: 'https://github.com/Cloud-and-devops-notes/spring-petclinic-jenkins.git',
|
||||||
branch: 'main'
|
branch: 'main'
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('artifact build'){
|
stage('artifact build'){
|
||||||
|
@ -30,7 +28,8 @@ pipeline{
|
||||||
sh 'docker push sridhar006/spc-mvn:${BUILD_ID}'
|
sh 'docker push sridhar006/spc-mvn:${BUILD_ID}'
|
||||||
|
|
||||||
}
|
}
|
||||||
} stage("kubernetes deployment"){
|
}
|
||||||
|
stage("kubernetes deployment"){
|
||||||
steps{
|
steps{
|
||||||
sh 'kubectl apply -f deployement.yaml'
|
sh 'kubectl apply -f deployement.yaml'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue