mw gitlab ci run edit
Create or run a new CI/CD pipeline
mw gitlab ci run [flags]
Examples edit
glab ci run glab ci run -b main glab ci run -b main --variables-env key1:val1 glab ci run -b main --variables-env key1:val1,key2:val2 glab ci run -b main --variables-env key1:val1 --variables-env key2:val2 glab ci run -b main --variables-file MYKEY:file1 --variables KEY2:some_value
Options edit
-b, --branch string Create pipeline on branch/ref <string> --variables strings Pass variables to pipeline in format <key>:<value> --variables-env strings Pass variables to pipeline in format <key>:<value> --variables-file strings Pass file contents as a file variable to pipeline in format <key>:<filename> -f, --variables-from string JSON file containing variables for pipeline execution
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
- mw gitlab ci - Work with GitLab CI/CD pipelines and jobs