diff --git a/Jenkinsfile b/Jenkinsfile index e5f7c54e7..bed4d6c39 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,11 +10,13 @@ stages { } } stage("deploy") { + steps { sh "cd spring-petclinic" sh """ docker build -t pet-clinic:1.0 . docker run -d -p 8080:8080 pet-clinic:1.0 """ + } } } }