Update Jenkinsfile
This commit is contained in:
parent
ad0aae217f
commit
cc8b3a8366
1 changed files with 10 additions and 0 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue