Triggering a pipeline and/or a release run
Webhooks
Last updated
Webhooks
Last updated
When you want to trigger a release or a pipeline after a PR has been successfully merged or when code is pushed to a branch. Depending upon the use case you can create a webhook for their particular repository along with the pipeline or release that they want to trigger on the success of the event which can be the merging of a branch or pushing of code to a branch.
Ozone provides the option to create 10 types of webhooks:
Generic
Github
Gitlab
Azure Cloud Registry
Jira
Bitbucket
Slack
Harbor
Dockerhub
Azure DevOps
Pre-requisites:
You should have credentials for the providers for which you want to create the webhooks.
On successful login, in the sidebar, you can see the option Triggers
Open image-20240416-102827.png
Once users click on Triggers, a modal window will be shown where you can click on Webhooks
Open image-20240416-102941.png
Once you click on Webhooks, they are taken to the Webhooks landing page, here a list of all the webhooks that have been created will be shown. Users can click on the top right to create a new webhook
Open image-20240416-103325.png
Once the user clicks on the create webhook button a modal window appears where users can enter details to create a webhook
Open image-20240416-113535.png
Now to create a webhook for a particular type refer to the docs below -
Create a GitHub webhook