Every pipeline execution starts with a trigger. Not only can you manually trigger a pipeline execution, but you can also set up triggers to automatically start a pipeline execution when certain conditions are met.
VESSL Pipeline supports the two types of automatic triggers:
To create a cron trigger, click the Add trigger
button at the Cron
section on the pipeline Triggers
tab.
Cron trigger allows you to define schedule of execution with human-readable expression or cron expression. Below are the details of the cron trigger configuration:
To create a webhook trigger, click the Add trigger
button at the Webhook
section on the pipeline triggers tab.
Webhook trigger enables you to trigger the pipeline execution by sending an HTTP request to the specified webhook URL. It’s commonly used to trigger pipeline execution from external services like GitHub Actions or GitLab CI/CD.
Below are the details of the webhook trigger configuration:
GitHub
, GitLab
, Bitbucket
or Custom App
.Once you create a webhook trigger, you will get a unique webhook URL. You can use this URL to trigger the pipeline execution by registering the URL as a webhook in the external service(GitHub, GitLab, etc.) or by sending an HTTP POST request to the URL.
If your webhook target is Custom App
, you can see the instructions to trigger the pipeline execution in the info text of registered webhook: