glab(1)
π
glab-ci-get β like, the glab(1) manual, but make it make sense π«Ά
Okay bestie, buckle up β this is the glab(1) page for glab-ci-get, and it's genuinely one of the most useful little gremlins in the whole CLI. Let's get into it β¨
πΈ NAME πΈ
glab-ci-get β grab all the deets on a CI/CD pipeline. that's it. that's the whole job. π
π¦ SYNOPSIS π¦
glab ci get [flags]
β¨ DESCRIPTION β¨
So by default it goes and finds the pipeline for your current branch β no flags needed, she just knows. π But if you'd rather point at a specific pipeline instead of fetching the latest one for a branch, use --pipeline-id.
Wanna target the head pipeline of a specific merge request by IID? That's --merge-request. And this is lowkey not the same thing as --branch β they diverge when the MR's head pipeline isn't the latest pipeline on its source branch. Think forks, think detached pipelines. iykyk π
Use --status to filter jobs by state β it gets passed straight through to the API's scope parameter. no cap, it's literally a passthrough.
And if you want the pipeline details as JSON? Use --output json. slay. π₯
π OPTIONS π
-b,--branch=""β get the pipeline for a branch. defaults to the current branch, because she's thoughtful like that πΈ--jq=""β filter the JSON output with ajqexpression. fancy brain energy π§--merge-request=0β show the pipeline for the given merge request. (the original help text literally trails off there β that's just how it is, bestie π)-F,--output="text"β format the output. your options:text,json. pick your fighter π-p,--pipeline-id=0β get the pipeline with the given. yes, it also trails off. iconic, honestly π-s,--status=""β show only jobs in the given state. passed through to the API'sscopeparameter, as previously established π«Ά-d,--with-job-details[=false]β show extended job info. more details = more better β--with-variables[=false]β show variables in the pipeline. β οΈ heads up: this one requires the Maintainer role, so vibe check your permissions first π
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β show help for this command. the classic "help me help you" button π-R,--repo=""β select another repository. you can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO, and the full URL or Git URL is also accepted. so many ways to say the same thing, we love flexibility π¦
π EXAMPLE π
# Get the pipeline for the current branch
glab ci get
# Get a specific pipeline by ID in another project
glab ci get -R some/project -p 12345
# Show only failed jobs for the head pipeline of MR !42
glab ci get --merge-request=42 --status=failed --with-job-details
look at her go ππ
π SEE ALSO π
glab-ci(1)β the parent command, go say hi π«Ά
ngl the descriptions on--merge-requestand--pipeline-idliterally end mid-sentence in the original. that's not me, that's the manpage. i'm just the messenger π
and that's the whole vibe check, bestie β¨ this lil masterpiece was Auto generated by spf13/cobra, dated Nov 2026, and it belongs to the glab(1) family π go get those pipelines, you're gonna absolutely ate it πΈππ¦
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms