summaryrefslogtreecommitdiff
path: root/doc/administration/job_artifacts.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/administration/job_artifacts.md')
-rw-r--r--doc/administration/job_artifacts.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/administration/job_artifacts.md b/doc/administration/job_artifacts.md
index 7a3d116ea58..99f4033e8fd 100644
--- a/doc/administration/job_artifacts.md
+++ b/doc/administration/job_artifacts.md
@@ -403,13 +403,13 @@ If you need to manually remove ALL job artifacts associated with multiple jobs,
```ruby
project = Project.find_by_full_path('path/to/project')
- builds_with_artifacts = project.builds.with_existing_job_artifacts
+ builds_with_artifacts = project.builds.with_existing_job_artifacts(Ci::JobArtifact.trace)
```
To select jobs with artifacts across the entire GitLab instance:
```ruby
- builds_with_artifacts = Ci::Build.with_existing_job_artifacts
+ builds_with_artifacts = Ci::Build.with_existing_job_artifacts(Ci::JobArtifact.trace)
```
1. Select the user which will be mentioned in the web UI as erasing the job: