gitlab api pro icon

gitlab api pro

Extended GitLab node

Pipeline → Create

AI-generated

Summary

Create a new pipeline for a specified GitLab project and reference branch or tag.

Inputs

  • Authentication — Select whether to use saved credentials or custom fields for this node (Optional, default: credential).
  • GitLab Server — Base URL of your GitLab instance, e.g., "https://gitlab.com", shown only with Custom authentication (Optional, default: https://gitlab.com).
  • Access Token — Personal access token with API permissions, shown only with Custom authentication (Optional).
  • Project Locator — Choose how to identify the project: by Numeric ID or by Namespace/Path (Optional, default: id).
  • Project ID — Numeric project ID, used when Project Locator is set to ID (Optional, default: 0).
  • Project Owner — Namespace or owner of the project, used when Project Locator is set to Path (Optional).
  • Project Name — Project slug or name, used when Project Locator is set to Path (Optional).
  • Ref — Branch or tag that triggers the pipeline, such as 'main' (Optional, default: main).

Output shape

a single record representing the created pipeline details as returned by the GitLab API

The operation sends a POST request to the endpoint /projects/{project}/pipeline with the specified ref in the body. It requires valid project identification either by ID or by namespace and name. Authentication is required either via saved credentials or custom token fields. Errors occur if required fields are invalid or missing.

Links

Discussion