diff --git a/Jenkinsfile b/Jenkinsfile index 492bb91fe..a141d8c9d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,13 @@ pipeline{ sh "mvn package" } } - + stage('Docker Build') { + agent any + steps { + echo "========executing docker build========" + sh 'docker build -t amar/petclinic:latest .' + } + } } post{