Commit 11ed7d5c authored by Kati Paizee's avatar Kati Paizee

Merge branch 'eread/switch-screenshot-setting' into 'master'

Change keyword for screenshot example

See merge request gitlab-org/gitlab!61761
parents f9c2ce53 60ce9401
......@@ -3632,10 +3632,10 @@ failure.
`artifacts:when` can be set to one of the following values:
1. `on_success` (default): Upload artifacts only when the job succeeds.
1. `on_failure`: Upload artifacts only when the job fails. Useful, for example, when
1. `on_failure`: Upload artifacts only when the job fails.
1. `always`: Always upload artifacts. Useful, for example, when
[uploading artifacts](../unit_test_reports.md#viewing-junit-screenshots-on-gitlab) required to
troubleshoot failing tests.
1. `always`: Always upload artifacts.
For example, to upload artifacts only when a job fails:
......
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