Cli/ref/mw gitlab ci run-trig
Appearance
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 or reference <string>.
-t, --token CI_JOB_TOKEN Pipeline trigger token. Can be omitted only if the CI_JOB_TOKEN environment variable is set.
--variables strings Pass variables to pipeline in the 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. Can use either OWNER/REPO or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
-v, --verbose count Increase output verbosity. Example: --verbose=2 or -vv
SEE ALSO
[edit]- mw gitlab ci - Work with GitLab CI/CD pipelines and jobs.