.nh .TH "glab" "1" "Dec 2025" "Auto generated by spf13/cobra" "" .SH NAME glab-ci-view - View, run, trace, log, and cancel CI/CD job's current pipeline. .SH SYNOPSIS \fBglab ci view [branch/tag] [flags]\fP .SH DESCRIPTION Supports viewing, running, tracing, and canceling jobs. .PP Use arrow keys to navigate jobs and logs. .IP \(bu 2 \fBEnter\fR to toggle through a job's logs / traces, or display a child pipeline. Trigger jobs are marked with a \fB»\fR\&. .IP \(bu 2 \fBEsc\fR or \fBq\fR to close the logs or trace, or return to the parent pipeline. .IP \(bu 2 \fBCtrl+R\fR, \fBCtrl+P\fR to run, retry, or play a job. Use \fBTab\fR or arrow keys to navigate the modal, and \fBEnter\fR to confirm. .IP \(bu 2 \fBCtrl+D\fR to cancel a job. If the selected job isn't running or pending, quits the CI/CD view. .IP \(bu 2 \fBCtrl+Q\fR to quit the CI/CD view. .IP \(bu 2 \fBCtrl+Space\fR to suspend application and view the logs. Similar to \fBglab pipeline ci trace\fR\&. .IP \(bu 2 Supports \fBvi\fR style bindings and arrow keys for navigating jobs and logs. .SH OPTIONS \fB-b\fP, \fB--branch\fP="" Check pipeline status for a branch or tag. Defaults to the current branch. .PP \fB-p\fP, \fB--pipelineid\fP=0 Check pipeline status for a specific pipeline ID. .PP \fB-w\fP, \fB--web\fP[=false] Open pipeline in a browser. Uses default browser, or browser specified in BROWSER variable. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. Can use either \fBOWNER/REPO\fR or \fBGROUP/NAMESPACE/REPO\fR format. Also accepts full URL or Git URL. .SH EXAMPLE .EX # Uses current branch $ glab pipeline ci view # Get latest pipeline on main branch $ glab pipeline ci view main # Just like the second example $ glab pipeline ci view -b main # Get latest pipeline on main branch of myusername/glab repo $ glab pipeline ci view -b main -R myusername/glab .EE .SH SEE ALSO \fBglab-ci(1)\fP