Skip to content

Commit c751c5f

Browse files
chore: update jenkins file to include junit plugin for archiving test results
1 parent b5b51cd commit c751c5f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.jenkins/pipelines/java-8.Jenkinsfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ pipeline {
2626
}
2727
}
2828
}
29+
post {
30+
always {
31+
junit testResults: '**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml', allowEmptyResults: true
32+
}
33+
}
2934
}

.jenkins/pipelines/sonar.Jenkinsfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@ pipeline {
4343
}
4444
}
4545
}
46+
post {
47+
always {
48+
junit testResults: '**/target/surefire-reports/*.xml,**/target/failsafe-reports/*.xml', allowEmptyResults: true
49+
}
50+
}
4651
}

0 commit comments

Comments
 (0)