Skip to content

Get artifacts files #122

@iBobik

Description

@iBobik

It seems library is not able to download artifacts (by /projects/:id/builds/:build_id/artifacts), only list them:

>>> import gitlab
>>> GITLAB_SERVER = 'https://gitlab.com'
>>> 
>>> gl = gitlab.Gitlab(GITLAB_SERVER, 'xxx')
>>> project = gl.projects.get(123)
>>> build = project.builds.get(12345)               
>>> build.artifacts_file
{'filename': 'artifacts.zip', 'size': 2420515}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions