diff options
author | Robert Speicher <rspeicher@gmail.com> | 2019-05-08 22:52:23 +0000 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-05-08 22:52:23 +0000 |
commit | fa6e00d05dedfac9ec28bf1a4735bffc38a5b4d0 (patch) | |
tree | 07c2087939b6c6dce33620c57a6989d76547e681 /doc/ci/junit_test_reports.md | |
parent | 204dca4436f5b2c82611a873d05186ec4ff4c17c (diff) | |
parent | 2f003b58645b3cbc987c240f844b1ff6eb0c026a (diff) | |
download | gitlab-ce-fa6e00d05dedfac9ec28bf1a4735bffc38a5b4d0.tar.gz |
Merge branch '11-11-stable-prepare-rc2' into '11-11-stable'
Prepare 11.11.0-rc2 release
See merge request gitlab-org/gitlab-ce!28215
Diffstat (limited to 'doc/ci/junit_test_reports.md')
-rw-r--r-- | doc/ci/junit_test_reports.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/ci/junit_test_reports.md b/doc/ci/junit_test_reports.md index d03c0b68daf..799217c9a08 100644 --- a/doc/ci/junit_test_reports.md +++ b/doc/ci/junit_test_reports.md @@ -71,11 +71,11 @@ merge request widget. NOTE: **Note:** If you also want the ability to browse JUnit output files, include the -[`artifacts:paths`](yaml/README.md#artifactspaths) keyword. +[`artifacts:paths`](yaml/README.md#artifactspaths) keyword. An example of this is shown in the Ruby example below. ### Ruby example -Use the following job in `.gitlab-ci.yml`: +Use the following job in `.gitlab-ci.yml`. This includes the `artifacts:paths` keyword to provide a link to the JUnit output file. ```yaml ## Use https://github.com/sj26/rspec_junit_formatter to generate a JUnit report with rspec @@ -85,6 +85,8 @@ ruby: - bundle install - rspec spec/lib/ --format RspecJunitFormatter --out rspec.xml artifacts: + paths: + - rspec.xml reports: junit: rspec.xml ``` |