mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
a62b2c9f93
commit
f758f80afd
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -15,7 +15,7 @@ stages {
|
|||
dir("spring-petclinic") {
|
||||
sh """
|
||||
docker build -t pet-clinic:1.0 .
|
||||
docker rm pet-clinic_container
|
||||
docker ps -q --filter name=pet-clinic_container|grep -q . && docker rm pet-clinic_container||echo pet-clinic_container doesn't exists
|
||||
docker run --name pet-clinic_container -d -p 8080:8080 pet-clinic:1.0
|
||||
"""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue