Commit fef2a892 authored by Patrick Lehner's avatar Patrick Lehner

Extend JUnit XML test report documentation to explicitly mention support for filename patterns.

parent 98a5413d
...@@ -1231,11 +1231,14 @@ rspec: ...@@ -1231,11 +1231,14 @@ rspec:
The collected JUnit reports will be uploaded to GitLab as an artifact and will The collected JUnit reports will be uploaded to GitLab as an artifact and will
be automatically [shown in merge requests](../junit_test_reports.md). be automatically [shown in merge requests](../junit_test_reports.md).
For more examples, see [JUnit test reports](../junit_test_reports.md).
NOTE: **Note:** NOTE: **Note:**
In case the JUnit tool you use exports to multiple XML files, you can specify In case the JUnit tool you use exports to multiple XML files, you can specify
multiple test report paths within a single job multiple test report paths within a single job and they will be automatically
(`junit: [rspec-1.xml, rspec-2.xml, rspec-3.xml]`) and they will be automatically concatenated into a single file. Use a filename pattern (`junit: rspec-*.xml`),
concatenated into a single file. an array of filenames (`junit: [rspec-1.xml, rspec-2.xml, rspec-3.xml]`), or a
combination thereof (`junit: [rspec.xml, test-results/TEST-*.xml]`).
## `dependencies` ## `dependencies`
......
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