gitlab_retry_pipeline
Retry all failed jobs of an existing GitLab pipeline by specifying the pipeline ID. New job runs are created only for failed or canceled jobs.
Instructions
Retry all failed jobs of an existing pipeline.
Creates new job runs (new history entries). Safe to call when the pipeline has at least one failed/canceled job; has no effect if everything already passed.
Examples:
- "Retry the failed jobs in pipeline 123" → pipeline_id=123
- Don't use to rerun a successful pipeline — use gitlab_trigger_pipeline instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline_id | Yes | Pipeline ID to retry failed jobs for. | |
| 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 | No | ||
| status | No | ||
| web_url | No | ||
| ref | No | ||
| created_at | No | ||
| status_note | No |