Update Jenkinsfile

This commit is contained in:
BrahmanapallyNagaraju 2020-04-08 20:18:45 +05:30 committed by GitHub
parent 4f0cf8c88b
commit a62b2c9f93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
Jenkinsfile vendored
View file

@ -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
"""
}
}