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