summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
authorMax Wittig <max.wittig95@gmail.com>2019-07-11 18:54:16 +0200
committerGitHub <noreply@github.com>2019-07-11 18:54:16 +0200
commit4a8503db1c55f5a8d1cc66533325d2d832622f85 (patch)
treeb75edec3c039a3c5b06021e95e7693c492d49c29 /docs/gl_objects
parentad1c0dda37f573673beaf9f25187f51751a5a484 (diff)
parentcda117456791977ad300a1dd26dec56009dac55e (diff)
downloadgitlab-4a8503db1c55f5a8d1cc66533325d2d832622f85.tar.gz
Merge pull request #824 from python-gitlab/feat/add-ref-artifacts
feat: get artifact by ref and job
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()