Create Pipeline Trigger

Description

Create trigger: link pipeline to trigger-event.

Command

codefresh create trigger [event-uri] [pipeline]

Aliases

codefresh create t [event-uri] [pipeline]

Arguments

Option Alias Default Description
event-uri trigger-event URI
pipeline pipeline to be triggered by the trigger-event

Options

Option Alias Default Description
--help Print help information
--filter trigger filter name=condition pairs

Examples

Create trigger by linking 5a43… pipeline to the DockerHub codefresh/fortune push event

codefresh create trigger registry:dockerhub:codefresh:fortune:push 5a439664af73ad0001f3ece0