GitLab API icon

GitLab API

Gitlab

Actions917

Overview

This node operation retrieves a summary of the test report for a specific pipeline within a GitLab project. It is useful for developers and DevOps teams who want to programmatically access test results from their CI/CD pipelines in GitLab. For example, it can be used to monitor pipeline test outcomes, integrate test summaries into dashboards, or trigger actions based on test results.

Use Case Examples

  1. Fetch the test report summary for pipeline ID 18 in project ID 11 to monitor test results automatically.
  2. Integrate GitLab pipeline test summaries into a custom reporting tool to track CI/CD health.

Properties

Name Meaning
Skip Authentication Option to skip authentication when making the API request.
Authentication Type of authentication used for the API request, defaulting to GitLab API key.
baseUrl Base URL of the GitLab instance to which the API request is sent.
Method HTTP method used for the API request, default is GET.
Path Parameters Parameters specifying the project ID or URL-encoded path and the pipeline ID for which the test report summary is requested.

Output

JSON

  • test_report_summary - Summary of the test report for the specified pipeline in the project

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure the project ID and pipeline ID are correct and exist in the GitLab instance to avoid 404 errors.
  • Verify that the API key has sufficient permissions to access pipeline test reports to prevent authorization errors.
  • Check the base URL is correctly set to the GitLab instance URL to avoid connection issues.

Links

Discussion