GCLI-PIPELINES(1)
π GCLI-PIPELINES(1) β the manual, bestie edition β¨
okay so you picked up the gcli pipelines page from the General Commands Manual, and honestly? you ate. let's get into it π«Ά
β¨ NAME β¨
gcli pipelines β inspect and manage CI Services π
π SYNOPSIS π
like, the whole vibe of how you call it:
gcli pipelines [forge-path] [-n n] [-o owner -r repo] [-a]
gcli pipelines [forge-path] -p pipeline-id [-o owner -r repo]
pipeline-actions...
gcli pipelines -j job-id [-o owner -r repo] job-actions...
πΈ DESCRIPTION πΈ
so gcli pipelines is your girl for showing you data about the Continuous Integration (CI) service of git forges. you can list pipelines of a given repository, list jobs inside a given pipeline, or do actual actions β like restarting jobs or pulling their logs. main character energy fr.
and listen, lowkey important: if you've setrestrict-pipelines-to-branchin thedefaultssection of yourgcli(5)config file, thengcli pipelineswill only list pipelines for the currently checked out branch β unless you passed the-aflag. no cap. π¦
π OPTIONS π
-o,--ownerowner β operate on the repository of the given owner. this one can only be used together with-r. they're a package deal, bestie π-r,--reporepo β operate on the given repo. and yeah, this can only be used together with-o. same package, same deal.-n,--countn β fetch at least n items. setting n to-1will fetch all items. default is30. ngl though: on large repositories, fetching all items can take a considerable amount of time and may get you rate limited by the GitLab API. π be careful out there.-p,--pipelinepipeline-id β execute the given actions for the specified pipeline-id.-j,--jobjob β execute the given actions for the specified job.-a,--allβ do not restrict the pipelines list to pipelines running on the current branch. this option only applies if you've enabledrestrict-pipelines-to-branchinside thedefaultssection ofgcli(5). it's giving "let me see everything" β¨
π₯ ACTIONS π₯
job-actions...
okay so job-actions... may be one or more of the following:
logβ dump the log of the job. the receipts, basically πstatusβ print a short summary of the job.cancelβ cancel the job. bye bestie πretryβ retry the job. we try again, periodt πartifacts [-o outfile]β download the artifacts archive as a zip to disk. the default output file isartifacts.zip, but you can override it with the-oflag. π
pipeline-actions...
and pipeline-actions... may be one or more of the following:
allβ print a summary with all information about the pipeline.statusβ print a short status summary of the pipeline.jobsβ print a list of jobs running in the pipeline.childrenβ print a list of child pipelines triggered by this pipeline. the pipeline's little babies π§openβ opens the pipeline in a web browser. β¨monitor [-d secs]β continuously monitor the jobs of this pipeline. this presents a view of the jobs list that is refreshed live. the action exits once the pipeline has completed.
β οΈ heads up: this action requires an xterm(1) compatible terminal emulator, because control characters are printed to stdout. it's literally required, no workaround.
the refresh interval can be configured via the monitor-delay option in the defaults section of the gcli(5) config file. alternatively you can override the delay by passing it via the -d flag. the command line flag takes prescendence over the config file. π
π EXAMPLES π
print a list of the last 30 pipelines in the current project:
$ gcli pipelines
when restrict-pipelines-to-branch is set and you are on the foobar branch which is up-to-date with origin/foobar then gcli pipelines will give you all pipelines that ran on the foobar branch.
print a summary of pipeline 420:
$ gcli pipelines -p 420 all
list only jobs of pipeline #3316:
$ gcli pipelines -p3316 jobs
dump the log of Job #423141 in herrhotzenplotz/gcli:
$ gcli pipelines -o herrhotzenplotz -r gcli -j 423141 log
list pipelines in herrhotzenplotz/gcli using the forge path shorthand:
$ gcli pipelines gl:herrhotzenplotz/gcli
π¦ SEE ALSO π¦
git(1), gcli(1) β go read those too, they're iconic π
π AUTHORS π
Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors. shoutout to the contributors fr fr π«Ά
π BUGS π
- The interface has been modelled after the GitLab CI service. GitHub behaves differently in some cases. so yeah, don't assume it's 1:1, ngl.
- The command
gcli pipelines -aonly fetches checks for theHEADref on GitHub. that's the whole thing, that's the limitation π
please report bugs via E-Mail to https://lists.sr.ht/~herrhotzenplotz/gcli-discuss.
alternatively you can report them on any of the forges linked at https://sr.ht/~herrhotzenplotz/gcli. however, the preferred and quickest method is to use the mailing list. β¨
okay and that's the whole page bestie, written by the gcli crew β version 2.13.0, dated 05-Aug-2026. slay, go run some pipelines πππ
π¦ where this page comes from
- nixpkgs unstable: gcli 2.13.0
- ubuntu stonking: gcli 2.13.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms