diff options
| author | Max Wittig <max.wittig95@gmail.com> | 2019-07-11 18:54:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-11 18:54:16 +0200 |
| commit | 4a8503db1c55f5a8d1cc66533325d2d832622f85 (patch) | |
| tree | b75edec3c039a3c5b06021e95e7693c492d49c29 /docs | |
| parent | ad1c0dda37f573673beaf9f25187f51751a5a484 (diff) | |
| parent | cda117456791977ad300a1dd26dec56009dac55e (diff) | |
| download | gitlab-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')
| -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() |
