GitLab API

GitlabTool

Actions1000

Overview

This node operation retrieves upcoming jobs for a specific resource group within a GitLab project. It is useful for CI/CD pipeline management, allowing users to monitor scheduled jobs that are queued or planned for execution in a particular resource group of a project. For example, a DevOps engineer can use this to track upcoming jobs in a resource group to optimize resource allocation and pipeline scheduling.

Use Case Examples

  1. Retrieve upcoming CI jobs for a resource group in a project to monitor pipeline workload.
  2. Fetch upcoming jobs to analyze job scheduling and resource usage in GitLab CI/CD.

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, default is https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Query Parameters Optional query parameters for pagination, including page number and items per page.
Path Parameters Required path parameters identifying the project and resource group key.

Output

JSON

  • jobs - List of upcoming jobs in the specified resource group of the project.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and resource group key are correctly specified to avoid 404 errors.
  • Verify authentication credentials if receiving authorization errors.
  • Check pagination parameters to avoid empty or incomplete results.

Links

Discussion