Skip to content

Commit a24ff53

Browse files
committed
Add 'post' section with 'junit' steps.
* Based on jenkins-infra/jenkins.io#1198
1 parent 2dc5ed5 commit a24ff53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jenkins/Jenkinsfile

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ pipeline {
1515
steps {
1616
sh 'mvn test'
1717
}
18+
post {
19+
always {
20+
junit 'target/surefire-reports/*.xml'
21+
}
22+
}
1823
}
1924
stage('Deliver') {
2025
steps {

0 commit comments

Comments
 (0)