gitlab_get_pipeline_jobs
List jobs in a GitLab CI/CD pipeline to identify failed jobs and their details for troubleshooting. Use to drill down into specific job failures after a pipeline breaks.
Instructions
List jobs of a pipeline with stage, status, duration and web URL.
Use after noticing a failed pipeline to drill down into which specific job
broke and fetch its log via gitlab_get_job_log.
Examples:
- "What jobs are in pipeline 123" → pipeline_id=123
- "Which job failed in pipeline 456" → filter result by status='failed' client-side
- Don't use for overall pipeline status — use gitlab_get_pipeline instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_id | Yes | Numeric pipeline ID. | |
| project_path | No | GitLab project path (e.g. 'my-org/my-repo'). When omitted, the default from GITLAB_PROJECT_PATH env var is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_id | Yes | ||
| jobs_count | Yes | ||
| jobs | Yes |