From ee9f96e61ab5da0ecf469c21cccaafc89130a896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Monat?= Date: Thu, 10 Dec 2020 18:33:24 +0100 Subject: feat(objects): add pipeline test report support --- docs/gl_objects/pipelines_and_jobs.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'docs/gl_objects') diff --git a/docs/gl_objects/pipelines_and_jobs.rst b/docs/gl_objects/pipelines_and_jobs.rst index 0a3ddb1..627af1c 100644 --- a/docs/gl_objects/pipelines_and_jobs.rst +++ b/docs/gl_objects/pipelines_and_jobs.rst @@ -326,3 +326,26 @@ Examples List bridges for the pipeline:: bridges = pipeline.bridges.list() + +Pipeline test report +==================== + +Get a pipeline's complete test report. + +Reference +--------- + +* v4 API + + + :class:`gitlab.v4.objects.ProjectPipelineTestReport` + + :class:`gitlab.v4.objects.ProjectPipelineTestReportManager` + + :attr:`gitlab.v4.objects.ProjectPipeline.test_report` + +* GitLab API: https://docs.gitlab.com/ee/api/pipelines.html#get-a-pipelines-test-report + +Examples +-------- + +Get the test report for a pipeline:: + + test_report = pipeline.test_report.get() -- cgit v1.2.1