summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/pipelines_and_jobs.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/gl_objects/pipelines_and_jobs.rst b/docs/gl_objects/pipelines_and_jobs.rst
index 7faf657..eb9e23a 100644
--- a/docs/gl_objects/pipelines_and_jobs.rst
+++ b/docs/gl_objects/pipelines_and_jobs.rst
@@ -292,6 +292,11 @@ Get the artifacts of a job::
build_or_job.artifacts()
+Get the artifacts of a job by its name from the latest successful pipeline of
+a branch or tag:
+
+ project.artifacts(ref_name='master', job='build')
+
.. warning::
Artifacts are entirely stored in memory in this example.