gitlab_poll_job
Poll a GitLab CI job until terminal state, with configurable interval and timeout, then return the final status.
Instructions
Poll a GitLab CI job until it reaches a terminal state.
Checks every interval_seconds and gives up after timeout_minutes. Returns the final job status summary.
Args: job_id: The numeric job ID. project_path: GitLab project path, e.g. 'group/project'. interval_seconds: How often to poll (default 30s). timeout_minutes: Stop polling after this many minutes (default 30).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| project_path | No | ||
| timeout_minutes | No | ||
| interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |