mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
added docker stage
This commit is contained in:
parent
c63c93d26a
commit
83a1a3cda1
1 changed files with 1 additions and 0 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -85,6 +85,7 @@ pipeline {
|
|||
script {
|
||||
withDockerRegistry(credentialsId: 'Docker_cred', toolName: 'Docker') {
|
||||
sh "docker push prasannakumarsinganamalla431/petclinic:${BUILD_NUMBER}"
|
||||
sh "docker run -d prasannakumarsinganamalla431/petclinic:${BUILD_NUMBER}"
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue