Skip to content

mw gitlab ci list

Releasev0.35.0 · cfeceb67

mw gitlab ci list [flags]

Get the list of CI/CD pipelines.

-n, --name <string>
Return only pipelines with the given name.
-o, --order <string>
Order pipelines by this field. Options: id, status, ref, updated_at, user_id. Default: id.
-F, --output <string>
Format output. Options: text, json. Default: text.
-p, --page <int>
Page number. Default: 1.
-P, --per-page <int>
Number of items to list per page. Default: 30.
-r, --ref <string>
Return only pipelines for given ref.
--scope <string>
Return only pipelines with the given scope: {running|pending|finished|branches|tags}
--sha <string>
Return only pipelines with the given SHA.
--sort <string>
Sort direction for --order field: asc or desc. Default: desc.
--source <string>
Return only pipelines triggered via the given source. See https://docs.gitlab.com/ci/jobs/job_rules/#ci_pipeline_source-predefined-variable for full list. Commonly used options: {merge_request_event|parent_pipeline|pipeline|push|trigger}
-s, --status <string>
Get pipeline with this status. Options: running, pending, success, failed, canceled, skipped, created, manual, waiting_for_resource, preparing, scheduled
-a, --updated-after <string>
Return only pipelines updated after the specified date. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
-b, --updated-before <string>
Return only pipelines updated before the specified date. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
-u, --username <string>
Return only pipelines triggered by the given username.
-y, --yaml-errors
Return only pipelines with invalid configurations.
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-R, --repo <OWNER/REPO>
Select another repository. Can use either OWNER/REPO or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
$ glab ci list
$ glab ci list --status=failed
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.