GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves the pipelines associated with a specific pipeline schedule within a GitLab project. It is useful for users who want to monitor or manage the pipelines triggered by scheduled events in their GitLab projects. For example, a DevOps engineer might use this to fetch all pipelines triggered by a particular schedule to analyze their status or results.

Use Case Examples

  1. Fetch all pipelines for a pipeline schedule with ID 13 in project 18 to monitor scheduled CI/CD runs.
  2. Retrieve pipeline data to integrate with a custom dashboard showing scheduled pipeline executions.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API access.
Authentication Type of authentication used for the API request, defaulting to GitLab API key authentication.
baseUrl Base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method used for the API request, defaulting to GET.
Path Parameters Parameters required in the API path to specify the project ID and pipeline schedule ID.

Output

JSON

  • pipelines - Array of pipeline objects associated with the specified pipeline schedule in the project

Dependencies

  • An API key credential for GitLab authentication

Troubleshooting

  • Ensure the project ID and pipeline schedule ID are correctly provided and exist in GitLab to avoid 404 errors.
  • If authentication is enabled, verify that the API key has sufficient permissions to access pipeline schedules and pipelines.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.

Links

Discussion