gitlab_retry_pipeline
Retry failed jobs in a GitLab CI/CD pipeline to restart unsuccessful runs and complete the workflow. Specify the pipeline ID to create new job executions for previously failed or canceled tasks.
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 |