Update Jenkinsfile

This commit is contained in:
Stas Bezuhlyi 2021-04-01 15:51:33 +03:00 committed by GitHub
parent a9701d8c86
commit 91725e991c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
Jenkinsfile vendored
View file

@ -18,8 +18,10 @@ pipeline {
stage('Build') { stage('Build') {
steps { steps {
echo 'Running build automation' echo 'Running build automation'
sh 'mvn clean' sh '''
archiveArtifacts artifacts: 'dist/petclinic.zip' mvn clean
mvn build
'''
} }
} }
stage('Test') { stage('Test') {