How To: CLI Codefresh Run Pipeline and when to use the -t (trigger) option


Determining which options and flags to use when using the Codefresh Run Pipeline CLI command to start a Pipeline.


When your workflow is configured like this:

CLI Configuration Example

You want to run this pipeline from CLI, you have to provide both the branch name (-b) as well as the trigger name (-t). Without a trigger specified, Codefresh does not know from which branch it should start the build.


Codefresh Run Pipeline