Commit 329aabfa authored by Scott Hampton's avatar Scott Hampton

Use artifacts:when always for screenshots

If we use `artifacts:when: on_failure` then the JUnit report
won't upload when the job fails. We should use `always` instead.
parent 421d10b7
......@@ -349,8 +349,8 @@ report format XML files contain an `attachment` tag, GitLab parses the attachmen
```
- You should set the job that uploads the screenshot to
[`artifacts:when: on_failure`](yaml/README.md#artifactswhen) so that it uploads a screenshot when
a test fails.
[`artifacts:when: always`](yaml/README.md#artifactswhen) so that it still uploads a screenshot
when a test fails.
A link to the test case attachment appears in the test case details in
[the pipeline test report](#viewing-unit-test-reports-on-gitlab).
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