diff options
author | Patrick Lehner <lehner.pa@gmail.com> | 2018-09-08 22:11:39 +0300 |
---|---|---|
committer | Patrick Lehner <lehner.pa@gmail.com> | 2018-09-08 22:11:39 +0300 |
commit | fef2a8926b162bff1dd832a60adaf89c84a3cdd1 (patch) | |
tree | 5d104c83a35f3982839f06b4e9c96f082dbc9ef8 /doc/ci/yaml | |
parent | 98a5413de4089943c4ecfaabcfbe9a3e10ca444d (diff) |
Extend JUnit XML test report documentation to explicitly mention support for filename patterns.
Diffstat (limited to 'doc/ci/yaml')
-rw-r--r-- | doc/ci/yaml/README.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 72b90ac6334..3296368d2dd 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1231,11 +1231,14 @@ rspec: The collected JUnit reports will be uploaded to GitLab as an artifact and will be automatically [shown in merge requests](../junit_test_reports.md). +For more examples, see [JUnit test reports](../junit_test_reports.md). + NOTE: **Note:** In case the JUnit tool you use exports to multiple XML files, you can specify -multiple test report paths within a single job -(`junit: [rspec-1.xml, rspec-2.xml, rspec-3.xml]`) and they will be automatically -concatenated into a single file. +multiple test report paths within a single job and they will be automatically +concatenated into a single file. Use a filename pattern (`junit: rspec-*.xml`), +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` |