2017-06-05 03:13:57 +02:00
|
|
|
Zulip supports both Git and Mercurial notifications from
|
|
|
|
Bitbucket. This integration is for the old-style Bitbucket
|
|
|
|
webhooks used by Bitbucket Enterprise.
|
|
|
|
|
2024-05-05 22:30:09 +02:00
|
|
|
{!create-channel.md!}
|
2017-06-05 03:13:57 +02:00
|
|
|
|
2024-05-05 22:32:19 +02:00
|
|
|
The integration will use the default channel `commits` if no
|
|
|
|
channel is supplied in the hook; you still need to create the
|
|
|
|
channel even if you are using this default.
|
2017-06-05 03:13:57 +02:00
|
|
|
|
|
|
|
Next, from your repository's web page, go to the **Administration**
|
|
|
|
page and choose **Hooks** on the left-hand side. Choose the **POST**
|
|
|
|
hook from the list presented and click **Add hook**.
|
|
|
|
|
|
|
|
{!webhook-url-with-bot-email.md!}
|
|
|
|
|
|
|
|
{!git-append-branches.md!}
|
|
|
|
|
2024-05-05 22:32:19 +02:00
|
|
|
By default, notifications are sent to the `commits` channel. To
|
|
|
|
send notifications to a different channel, append
|
|
|
|
`?stream=channel_name` to the URL.
|
2017-06-05 03:13:57 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/bitbucket/002.png)
|