summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/builds.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/gl_objects/builds.rst b/docs/gl_objects/builds.rst
index f20fe17..a62d798 100644
--- a/docs/gl_objects/builds.rst
+++ b/docs/gl_objects/builds.rst
@@ -319,6 +319,10 @@ Get a single artifact file::
build_or_job.artifact('path/to/file')
+Get a single artifact file by branch and job::
+
+ project.artifact('branch', 'path/to/file', 'job')
+
Mark a job artifact as kept when expiration is set::
build_or_job.keep_artifacts()