summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2020-08-29 12:08:34 +0200
committerGitHub <noreply@github.com>2020-08-29 12:08:34 +0200
commit26f95f30a5219243f33d505747c65f798ac6a486 (patch)
tree158c7003b5774799ece2880779c8649c3b0f89dc /docs/gl_objects
parent0f42e32cb756766735c7e277f099030f6b3d8fc7 (diff)
parentc2806d8c0454a83dfdafd1bdbf7e10bb28d205e0 (diff)
downloadgitlab-26f95f30a5219243f33d505747c65f798ac6a486.tar.gz
Merge pull request #1159 from python-gitlab/feat/project-artifacts
Feat: Project job artifacts for latest successful pipeline
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.