From 91725e991c1dd34738513b27b001e42bc2c4da81 Mon Sep 17 00:00:00 2001 From: Stas Bezuhlyi <56916662+stasbezuhlyi@users.noreply.github.com> Date: Thu, 1 Apr 2021 15:51:33 +0300 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0d53aa50f..64e5c8a7d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,8 +18,10 @@ pipeline { stage('Build') { steps { echo 'Running build automation' - sh 'mvn clean' - archiveArtifacts artifacts: 'dist/petclinic.zip' + sh ''' + mvn clean + mvn build + ''' } } stage('Test') {