mirror of https://github.com/zulip/zulip.git
28 lines
864 B
Markdown
28 lines
864 B
Markdown
Zulip supports both Git and Mercurial notifications from
|
|
Bitbucket. This integration is for the old-style Bitbucket
|
|
webhooks used by Bitbucket Enterprise.
|
|
|
|
{!create-stream.md!}
|
|
|
|
The integration will use the default stream `commits` if no
|
|
stream is supplied in the hook; you still need to create the
|
|
stream even if you are using this default.
|
|
|
|
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!}
|
|
|
|
By default, notifications are sent to the `commits` stream. To
|
|
send notifications to a different stream, append
|
|
`?stream=stream_name` to the URL.
|
|
|
|
![](/static/images/integrations/bitbucket/001.png)
|
|
|
|
{!congrats.md!}
|
|
|
|
![](/static/images/integrations/bitbucket/002.png)
|