Commit b09454a2 authored by Evan Read's avatar Evan Read

Merge branch 'mo-update-junit-screenshot-doc' into 'master'

Update junit attachment documentation

See merge request gitlab-org/gitlab!62612
parents 016b001a 46c1b4b0
......@@ -339,12 +339,12 @@ If parsing JUnit report XML results in an error, an indicator is shown next to t
Upload your screenshots as [artifacts](yaml/README.md#artifactsreportsjunit) to GitLab. If JUnit
report format XML files contain an `attachment` tag, GitLab parses the attachment. Note that:
- The `attachment` tag **must** contain the absolute path to the screenshots you uploaded. For
- The `attachment` tag **must** contain the relative path to `$CI_PROJECT_DIR` of the screenshots you uploaded. For
example:
```xml
<testcase time="1.00" name="Test">
<system-out>[[ATTACHMENT|/absolute/path/to/some/file]]</system-out>
<system-out>[[ATTACHMENT|/path/to/some/file]]</system-out>
</testcase>
```
......
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