github.com/zaquestion/lab@v0.25.1/docs/lab_ci_trace.md (about) 1 ## lab ci trace 2 3 Trace the output of a ci job 4 5 ### Synopsis 6 7 Download the CI pipeline job artifacts for the given or current branch if 8 none provided. If a job is not specified the latest running job or last 9 job in the pipeline is used 10 11 The branch name, when using with the --merge-request option, can be the 12 merge request number, which matches the branch name internally. The "job" 13 portion is the given job name, which may contain whitespace characters 14 and which, for this specific case, must be quoted. 15 16 ``` 17 lab ci trace [remote] [branch][:job] [flags] 18 ``` 19 20 ### Examples 21 22 ``` 23 lab ci trace upstream feature_branch 24 lab ci trace upstream :'my custom stage' 25 lab ci trace upstream 18 --merge-request 26 lab ci trace upstream 18:'my custom stage' --merge-request 27 lab ci trace upstream 18:'my custom stage' --merge-request --bridge 'security-tests' 28 ``` 29 30 ### Options 31 32 ``` 33 -h, --help help for trace 34 --merge-request use merge request pipeline if enabled 35 ``` 36 37 ### Options inherited from parent commands 38 39 ``` 40 --bridge string Bridge job (downstream pipeline) name 41 --debug Enable debug logging level 42 --follow Follow bridge jobs (downstream pipelines) in a multi-projects setup 43 --no-pager Do not pipe output into a pager 44 --quiet Turn off any sort of logging. Only command output is printed 45 ``` 46 47 ### SEE ALSO 48 49 * [lab ci](lab_ci.md) - Work with GitLab CI pipelines and jobs 50 51 ###### Auto generated by spf13/cobra on 27-Jun-2022