GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves pipeline information for a specific package within a GitLab project. It is useful for users who want to monitor or analyze the CI/CD pipelines associated with a package in a project, such as checking pipeline statuses or fetching pipeline details for automation or reporting purposes.

Use Case Examples

  1. Fetch pipelines for a package in a project to monitor CI/CD status.
  2. Retrieve pipeline data to integrate with a custom dashboard or alerting system.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters to control pagination and cursor for the request.
Path Parameters Required path parameters to specify the project and package.

Output

JSON

  • id - The unique identifier of the pipeline.
  • status - The current status of the pipeline.
  • ref - The branch or tag name the pipeline is associated with.
  • sha - The commit SHA the pipeline is running for.
  • web_url - The URL to view the pipeline in GitLab.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and package ID are correctly specified to avoid 404 errors.
  • Check authentication credentials if receiving authorization errors.
  • Verify that the base URL is correct for self-hosted GitLab instances.
  • Pagination parameters should be within allowed ranges to avoid request errors.

Discussion