diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-09-17 19:20:48 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-09-17 19:20:48 +0300 |
commit | 32f01b3ad086516f6c82e2cbfac59ec214606563 (patch) | |
tree | 5fe12e5fbcd2a292d8e71268f2e3c24294283e63 /doc | |
parent | 07c6c9db57ddbb611544e5f91a322f68918310f7 (diff) | |
parent | 5231a29fc6c0725df5e19aaee7f4bcf7180ff497 (diff) |
Merge branch 'junit-reports-filename-patterns' into 'master'
Extend JUnit XML test report documentation to explicitly mention support for filename patterns.
See merge request gitlab-org/gitlab-ce!21619
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ci/yaml/README.md | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/ci/yaml/README.md b/doc/ci/yaml/README.md index 41de9a50efc..31a065bc196 100644 --- a/doc/ci/yaml/README.md +++ b/doc/ci/yaml/README.md @@ -1231,13 +1231,16 @@ 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). +be automatically shown in merge requests. + +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` |