Skip to content

The Unified and Autonomous Development Platform

feat: Add unit test report publishing step to buildspec

Robin Shenc5126d5d18b6
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 6306ff702a..ccb1584898 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -361,6 +361,12 @@ jobs:
useTTY: true
condition: SUCCESSFUL
optional: false
+ - type: PublishJUnitReportStep
+ name: publish unit test report
+ reportName: Unit Test Report
+ filePatterns: '**/TEST-*.xml'
+ condition: ALWAYS
+ optional: false
- type: PublishPlaywrightReportStep
name: publish E2E test report
reportName: E2E Test Report