Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
efceea2e
Commit
efceea2e
authored
May 01, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
9e154295
016c4893
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
doc/ci/junit_test_reports.md
doc/ci/junit_test_reports.md
+4
-2
No files found.
doc/ci/junit_test_reports.md
View file @
efceea2e
...
...
@@ -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
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment