GitLab API

GitlabTool

Actions1095

Projects → getApiV4ProjectsIdPipelinesPipelineIdTestReport

AI-generated

Summary

Retrieve the test report for a specific pipeline within a GitLab project by project ID or URL-encoded path and pipeline ID.

Inputs

  • Id (required) — The project ID or URL-encoded path identifying the GitLab project.
  • Pipeline_id (required) — The ID of the pipeline for which to fetch the test report.
  • Skip Authentication — Optionally skip authentication if set to true, otherwise uses configured GitLab API credentials.
  • Method — HTTP method to use for the request, defaulting to GET (other methods available but typically GET is used).
  • baseUrl — Base URL of the GitLab instance, defaulting to 'https://gitlab.com'.

Output shape

a JSON object containing the test report data for the specified pipeline

Returns the test report as defined by the GitLab API v4 at the endpoint /api/v4/projects/{id}/pipelines/{pipeline_id}/test_report. The operation requires project ID and pipeline ID path parameters. Authentication uses the GitLab API credentials unless 'Skip Authentication' is true. The response shape follows GitLab's test report schema.

Examples

Example 1: Retrieve the test report for project ID 11 and pipeline ID 18

Set 'Id' to '11' and 'Pipeline_id' to '18', ensure authentication is enabled, method is GET, and baseUrl is 'https://gitlab.com'. Run operation to receive pipeline's test report.

Links

Discussion