Skip to content

Commit e7618fb

Browse files
author
Raphaël Monat
committed
Add pipeline test report support
1 parent 265dbbd commit e7618fb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

gitlab/v4/objects/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3879,12 +3879,20 @@ class ProjectPipelineVariableManager(ListMixin, RESTManager):
38793879
_obj_cls = ProjectPipelineVariable
38803880
_from_parent_attrs = {"project_id": "project_id", "pipeline_id": "id"}
38813881

3882+
class ProjectPipelineTestReport(RESTObject):
3883+
_id_attr = None
3884+
3885+
class ProjectPipelineTestReportManager(GetWithoutIdMixin, RESTManager):
3886+
_path = "/projects/%(project_id)s/pipelines/%(pipeline_id)s/test_report"
3887+
_obj_cls = ProjectPipelineTestReport
3888+
_from_parent_attrs = {"project_id": "project_id", "pipeline_id": "id"}
38823889

38833890
class ProjectPipeline(RESTObject, RefreshMixin, ObjectDeleteMixin):
38843891
_managers = (
38853892
("jobs", "ProjectPipelineJobManager"),
38863893
("bridges", "ProjectPipelineBridgeManager"),
38873894
("variables", "ProjectPipelineVariableManager"),
3895+
("test_report", "ProjectPipelineTestReportManager")
38883896
)
38893897

38903898
@cli.register_custom_action("ProjectPipeline")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy