Update Jenkinsfile

This commit is contained in:
Stas Bezuhlyi 2021-04-08 14:27:06 +03:00 committed by GitHub
parent 30b9f5b20a
commit c2bce7ee5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
Jenkinsfile vendored
View file

@ -7,12 +7,16 @@ pipeline {
checkout scm checkout scm
} }
} }
stage ('Initialaze') { stage ('Test maven') {
steps { steps {
try {
sh ''' sh '''
echo "PATH = ${PATH}" mvn --version
echo "M2_HOME = ${M2_HOME}" mvn clean test serefire-report:report
''' '''
} catch(err) {
sh "echo error Maven test"
}
} }
} }
stage('Build') { stage('Build') {