GitLab API

GitlabTool

Actions905

Overview

This node operation retrieves a summary of the test report for a specific pipeline within a GitLab project. It is useful for users who want to programmatically access test report summaries to monitor pipeline test results, integrate with other tools, or automate reporting workflows. For example, a DevOps engineer might use this node to fetch test report summaries to trigger alerts or generate dashboards based on pipeline test outcomes.

Use Case Examples

  1. Fetch the test report summary for pipeline ID 18 in project ID 11 to monitor test results automatically.
  2. Integrate with a CI/CD dashboard to display test report summaries from GitLab pipelines.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method used for the request, default is GET.
Path Parameters Parameters to specify 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

  • Requires GitLab API key credential for authentication unless skipping authentication is enabled.

Troubleshooting

  • Ensure the project ID and pipeline ID are correctly specified and exist in the GitLab instance.
  • Verify that the GitLab API key credential has sufficient permissions to access pipeline test reports.
  • If skipping authentication, ensure the GitLab instance allows unauthenticated access to the requested resource.
  • Common errors include 404 Not Found if the project or pipeline does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion