GitLab pipeline status
glab_ci_statusReport a GitLab pipeline's jobs as counts per status, listing failed, running and pending jobs for the current branch, a branch or a merge request.
Instructions
Report a GitLab pipeline's jobs as counts per status plus the failed, running and pending jobs. Defaults to the current branch's latest pipeline; pass mr for a merge request's head pipeline. Passing, skipped and manual jobs are counted, not listed, unless all=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mr | No | Merge request IID: read its head pipeline instead | |
| all | No | List passing, skipped and manual jobs too | |
| cwd | No | Repository path (default: the server's working directory) | |
| repo | No | GROUP/REPO or URL (default: the repo at `cwd`) | |
| branch | No | Branch whose latest pipeline to read (default: current branch) | |
| pipeline | No | Pipeline ID (default: the latest pipeline on `branch`) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| jobs | Yes | ||
| counts | Yes | ||
| status | Yes | ||
| pipeline | Yes | ||
| retained | No |