Jump to content

Cli/ref/mw gitlab ci view

From mediawiki.org
< Cli | ref

mw gitlab ci view

[edit]

View, run, trace/logs, and cancel CI/CD jobs current pipeline

Synopsis

[edit]

Supports viewing, running, tracing, and canceling jobs.

Use arrow keys to navigate jobs and logs.

‘Enter’ to toggle a job’s logs or trace or display a child pipeline (trigger jobs are marked with a »). ‘Esc’ or ‘q’ to close logs,trace or go back to the parent pipeline. ‘Ctrl+R’, ‘Ctrl+P’ to run/retry/play a job – Use Tab / Arrow keys to navigate modal and Enter to confirm. ‘Ctrl+D’ to cancel job – (Quits CI/CD view if selected job isn’t running or pending). ‘Ctrl+Q’ to Quit CI/CD View. ‘Ctrl+Space’ suspend application and view logs (similar to glab pipeline ci trace) Supports vi style bindings and arrow keys for navigating jobs and logs.

mw gitlab ci view [branch/tag] [flags]

Examples

[edit]
glab pipeline ci view   # Uses current branch
glab pipeline ci view master  # Get latest pipeline on master branch
glab pipeline ci view -b master  # just like the second example
glab pipeline ci view -b master -R profclems/glab  # Get latest pipeline on master branch of profclems/glab repo

Options

[edit]
  -b, --branch string   Check pipeline status for a branch/tag. (Default is the current branch)
  -w, --web             Open pipeline in a browser. Uses default browser or browser specified in BROWSER variable

Options inherited from parent commands

[edit]
      --help              Help for this command
      --no-interaction    Do not ask any interactive questions
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO or `GROUP/NAMESPACE/REPO` format or full URL or git URL
  -v, --verbose count     Increase output verbosity. Example: --verbose=2 or -vv

SEE ALSO

[edit]