diff options
author | Jeff Groom <jgroom@ciena.com> | 2019-07-04 10:13:17 -0600 |
---|---|---|
committer | Max Wittig <max.wittig95@gmail.com> | 2019-07-11 18:53:32 +0200 |
commit | cda117456791977ad300a1dd26dec56009dac55e (patch) | |
tree | b75edec3c039a3c5b06021e95e7693c492d49c29 /docs/gl_objects | |
parent | ad1c0dda37f573673beaf9f25187f51751a5a484 (diff) | |
download | gitlab-cda117456791977ad300a1dd26dec56009dac55e.tar.gz |
feat: get artifact by ref and job
Diffstat (limited to 'docs/gl_objects')
-rw-r--r-- | docs/gl_objects/builds.rst | 4 |
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() |