HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

glab pipeline — List, view, and run GitLab CI/CD pipelines. More information: <https://gitlab.com/gitlab-org/cli/-/b

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandglab pipelinerunandcligitlablistview

Problem

How to use the glab pipeline command: List, view, and run GitLab CI/CD pipelines. More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/_index.md>.

Solution

glab pipeline — List, view, and run GitLab CI/CD pipelines. More information: <https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/_index.md>.

View a running pipeline on the current branch:
glab pipeline status


View a running pipeline on a specific branch:
glab pipeline status --branch {{branch_name}}


Get the list of pipelines:
glab pipeline list


Run a manual pipeline on the current branch:
glab pipeline run


Run a manual pipeline on a specific branch:
glab pipeline run --branch {{branch_name}}

Code Snippets

View a running pipeline on the current branch

glab pipeline status

View a running pipeline on a specific branch

glab pipeline status --branch {{branch_name}}

Get the list of pipelines

glab pipeline list

Run a manual pipeline on the current branch

glab pipeline run

Run a manual pipeline on a specific branch

glab pipeline run --branch {{branch_name}}

Context

tldr-pages: common/glab pipeline

Revisions (0)

No revisions yet.