Skip to content

Commit

Permalink
Enable XML test reports for Jenkins integration (#3799) (#3803)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit eaab798)

Co-authored-by: Andriy Redko <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and reta authored Jul 7, 2022
1 parent 21ee3c5 commit 792b351
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,11 @@ reporting {
}
}

// Enable XML test reports for Jenkins integration
tasks.withType(TestTaskReports).configureEach {
junitXml.enabled = true
}

tasks.named(JavaBasePlugin.CHECK_TASK_NAME) {
dependsOn tasks.named('testAggregateTestReport', TestReport)
}

0 comments on commit 792b351

Please sign in to comment.