Skip to content

JUnit reports should be captured on test failures

Paul Okstad (ex-GitLab) requested to merge po-junit-report-failures into master

The test reports were not being generated correctly when a test failure occurred (they would be blank). This change uses files as artifacts for the test output and test exit code. This way the job can proceed after a test failure, and the output and exit code and be used later to generate the report and pass/fail the job.

You can see here that even though the race job failed, the test report is still populated with the offending test: Screen_Shot_2020-04-21_at_11.14.27_PM

Edited by GitLab Release Tools Bot

Merge request reports

Loading