Update Jenkinsfile

This commit is contained in:
Stijn Bannink 2020-02-25 15:54:39 +01:00 committed by GitHub
parent ad0aae217f
commit cc8b3a8366
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
Jenkinsfile vendored
View file

@ -18,6 +18,16 @@ pipeline {
steps {
sh 'mvn -Dmaven.test.failure.ignore=true install'
}
post {
always {
echo 'Archiving coverage results...'
jacoco(execPattern: '**/**.exec', classPattern: '**/classes', sourcePattern: '**/src/main/java')
echo 'Archiving test results...'
junit 'target/surefire-reports/*.xml'
echo 'Archiving artifacts...'
archiveArtifacts artifacts: 'target/*.jar', fingerprint: true
}
}
}
}
}