From 13317a6a6f5ef84322083fe51bc7ab66e00eb988 Mon Sep 17 00:00:00 2001 From: A-hash-bit <58227483+A-hash-bit@users.noreply.github.com> Date: Tue, 16 Aug 2022 12:23:35 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7d95abdc3..567772128 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,13 @@ pipeline{ sh "mvn clean package" } } - + stage('Docker Build') { + agent any + steps { + echo "========executing docker build========" + sh 'docker build -t amar/petclinic:latest .' + } + } } post{ always{