Commit d33b9681 authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'rw/add-when-to-unit-report-docs' into 'master'

Add 'when:always' to unit test report docs

Closes #247849

See merge request gitlab-org/gitlab!42254
parents a528ed7f 427d3c77
......@@ -81,6 +81,8 @@ merge request widget.
To make the Unit test report output files browsable, include them with the
[`artifacts:paths`](yaml/README.md#artifactspaths) keyword as well, as shown in the [Ruby example](#ruby-example).
To upload the report even if the job fails (for example if the tests do not pass), use the [`artifacts:when:always`](yaml/README.md#artifactswhen)
keyword.
NOTE: **Note:**
You cannot have multiple tests with the same name and class in your JUnit report format XML file.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment