GitLab API icon

GitLab API

Gitlab

Actions880

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 resource group. For example, a DevOps engineer can use this to track upcoming jobs in a project's resource group to optimize resource allocation and pipeline scheduling.

Use Case Examples

  1. Retrieve upcoming jobs for resource group 'key123' in project with ID '456'.
  2. Paginate through upcoming jobs by specifying page number and items per page.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request.
Authentication Type of authentication used, default is GitLab API key.
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.
Path Parameters Required path parameters to identify the project and resource group.

Output

JSON

  • jobs - List of upcoming jobs in the specified resource group.
  • pagination
    • page - Current page number of the results.
    • per_page - Number of items per page in the results.
    • total - Total number of upcoming jobs available.

Dependencies

  • GitLab API key credential for authentication

Troubleshooting

  • Ensure the project ID and resource group key are correctly specified; otherwise, the API will return an error.
  • If authentication is skipped, the request may fail due to lack of permissions.
  • Pagination parameters must be valid integers; invalid values may cause request failure.

Links

Discussion