Actions71
- Branch Actions
- File Actions
- Group Actions
- Issue Actions
- Merge Request Actions
- Pipeline Actions
- Project Actions
- Raw API Actions
- Release Actions
- Tag Actions
Pipeline → Get Jobs
AI-generatedSummary
Retrieve the list of jobs for a specified GitLab pipeline within a project.
Inputs
- Authentication — Choose to use either saved credentials or custom fields for authentication (default is Credential).
- GitLab Server — Base URL of your GitLab instance, applicable if using Custom authentication (default is https://gitlab.com).
- Project Locator — Choose how to identify the project: by ID or by Path (default is ID).
- Project ID — Numeric project identifier used if 'Project Locator' is set to 'ID'.
- Project Owner — Namespace or owner of the project used if 'Project Locator' is set to 'Path'.
- Project Name — Project slug or name used if 'Project Locator' is set to 'Path'.
- Pipeline ID (required) — Numeric ID of the pipeline (must be positive) to fetch jobs for.
- Return All — Whether to return all jobs or limit the number of results (default is false).
- Limit — Max number of job results to return if 'Return All' is false (default is 50).
Output shape
a list of job objects related to the specified pipeline
Supports pagination and can return all job items by setting 'Return All' to true. Each item represents a pipeline job as returned by the GitLab API endpoint
/pipelines/{id}/jobs. Errors related to authentication or invalid input parameters will be thrown.
Examples
Example 1: Get up to 50 jobs for pipeline ID 123 in project ID 456
Set 'Project Locator' to 'ID', provide 'Project ID' as 456, 'Pipeline ID' as 123, 'Return All' as false, and 'Limit' as 50.