Skip to content

Commit

Permalink
Enable JUnit XML test reports for Gradle builds (#2304)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Jul 11, 2022
1 parent f41439c commit 5032521
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jenkins/gradle/gradle-check.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ pipeline {
post() {
always {
sh ("cp -v `find search/build/reports/jacoco/ -name '*.xml' | head -n 1` codeCoverage.xml || echo")
junit 'build/test-results/**/*.xml'
archiveArtifacts artifacts: 'codeCoverage.xml', onlyIfSuccessful: true
script {
sh("rm -rf *")
Expand Down

0 comments on commit 5032521

Please sign in to comment.