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
4f0cf8c88b
commit
a62b2c9f93
1 changed files with 2 additions and 1 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -15,7 +15,8 @@ stages {
|
|||
dir("spring-petclinic") {
|
||||
sh """
|
||||
docker build -t pet-clinic:1.0 .
|
||||
docker run -d -p 8080:8080 pet-clinic:1.0
|
||||
docker rm pet-clinic_container
|
||||
docker run --name pet-clinic_container -d -p 8080:8080 pet-clinic:1.0
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue