Cli/ref/mw gitlab ci run-trig

< Cli | ref

mw gitlab ci run-trig

edit

Run a CI/CD pipeline trigger

mw gitlab ci run-trig [flags]

Examples

edit
glab ci run-trig -t xxxx
glab ci run-trig -t xxxx -b main
glab ci run-trig -t xxxx -b main --variables key1:val1
glab ci run-trig -t xxxx -b main --variables key1:val1,key2:val2
glab ci run-trig -t xxxx -b main --variables key1:val1 --variables key2:val2

Options

edit
  -b, --branch string       Create pipeline on branch/ref <string>
  -t, --token string        Pipeline trigger token (can be omitted only if CI_JOB_TOKEN environment variable is set)
      --variables strings   Pass variables to pipeline in format <key>:<value>

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