Skip to content

Commit 939c2e2

Browse files
author
Raphaël Monat
committed
feat: add pipeline test report support
1 parent 265dbbd commit 939c2e2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

gitlab/v4/objects/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3880,11 +3880,22 @@ class ProjectPipelineVariableManager(ListMixin, RESTManager):
38803880
_from_parent_attrs = {"project_id": "project_id", "pipeline_id": "id"}
38813881

38823882

3883+
class ProjectPipelineTestReport(RESTObject):
3884+
_id_attr = None
3885+
3886+
3887+
class ProjectPipelineTestReportManager(GetWithoutIdMixin, RESTManager):
3888+
_path = "/projects/%(project_id)s/pipelines/%(pipeline_id)s/test_report"
3889+
_obj_cls = ProjectPipelineTestReport
3890+
_from_parent_attrs = {"project_id": "project_id", "pipeline_id": "id"}
3891+
3892+
38833893
class ProjectPipeline(RESTObject, RefreshMixin, ObjectDeleteMixin):
38843894
_managers = (
38853895
("jobs", "ProjectPipelineJobManager"),
38863896
("bridges", "ProjectPipelineBridgeManager"),
38873897
("variables", "ProjectPipelineVariableManager"),
3898+
("test_report", "ProjectPipelineTestReportManager")
38883899
)
38893900

38903901
@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