github.com/zaquestion/lab@v0.25.1/docs/lab_ci_trigger.md (about) 1 ## lab ci trigger 2 3 Trigger a CI pipeline 4 5 ### Synopsis 6 7 Runs a trigger for a CI pipeline on the given or current branch if none provided. 8 This API supports variables and must be called with a trigger token or from within GitLab CI. 9 10 Project will be inferred from branch if not provided 11 12 Note: "lab ci trigger" differs from "lab ci create" which is a different API 13 14 ``` 15 lab ci trigger [branch] [flags] 16 ``` 17 18 ### Examples 19 20 ``` 21 lab ci trigger feature_branch 22 lab ci trigger -p engineering/integration_tests master 23 lab ci trigger -p engineering/integration_tests -v foo=bar master 24 ``` 25 26 ### Options 27 28 ``` 29 -h, --help help for trigger 30 -p, --project string project to run pipeline trigger on 31 -t, --token string pipeline trigger token, optional if run within GitLabCI 32 -v, --variable strings variables to pass to pipeline 33 ``` 34 35 ### Options inherited from parent commands 36 37 ``` 38 --bridge string Bridge job (downstream pipeline) name 39 --debug Enable debug logging level 40 --follow Follow bridge jobs (downstream pipelines) in a multi-projects setup 41 --no-pager Do not pipe output into a pager 42 --quiet Turn off any sort of logging. Only command output is printed 43 ``` 44 45 ### SEE ALSO 46 47 * [lab ci](lab_ci.md) - Work with GitLab CI pipelines and jobs 48 49 ###### Auto generated by spf13/cobra on 27-Jun-2022