diff --git a/Jenkinsfile b/Jenkinsfile index 7599d6581..442bd46f0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,6 +13,12 @@ pipeline { steps { sh 'mvn clean install' } - } } + stage('Docker Build') { + agent any + steps { + sh 'docker build -t mrcool/spring-petclinic:latest .' + } + } + } }