Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab

View the Project on GitHub zaquestion/lab

lab ci artifacts

Download artifacts of a ci job


Download the CI pipeline job artifacts for the given or current branch if none provided.

The branch name, when using with the –merge-request option, can be the merge request number, which matches the branch name internally. The “job” portion is the given job name, which may contain whitespace characters and which, for this specific case, must be quoted.

lab ci artifacts [remote] [branch][:job] [flags]


lab ci artifacts upstream feature_branch
lab ci artifacts upstream :'my custom stage'
lab ci artifacts upstream 125 --merge-request
lab ci artifacts upstream 125:'my custom stage' --merge-request
lab ci artifacts upstream 125:'build' --merge-request --bridge 'security-tests'


  -p, --artifact-path string   only download specified file from archive
  -h, --help                   help for artifacts
      --merge-request          use merge request pipeline if enabled

Options inherited from parent commands

      --bridge string   Bridge job (downstream pipeline) name
      --debug           Enable debug logging level
      --follow          Follow bridge jobs (downstream pipelines) in a multi-projects setup
      --no-pager        Do not pipe output into a pager
      --quiet           Turn off any sort of logging. Only command output is printed


Auto generated by spf13/cobra on 3-Jul-2022