mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
Note: This doesn't change the occurences in the Zapier integration doc, since they refer to pieces of the UI in Zapier, which may still be using the "Stream" terminology.
30 lines
928 B
Markdown
30 lines
928 B
Markdown
Get Zulip notifications for your Buildbot builds!
|
|
|
|
!!! tip ""
|
|
|
|
This integration requires Buildbot version 2.2.0 or higher.
|
|
|
|
1. {!create-channel.md!}
|
|
|
|
1. {!create-an-incoming-webhook.md!}
|
|
|
|
1. Edit the Buildbot configuration file to add a new Zulip reporter
|
|
([or follow the steps listed here][1]):
|
|
|
|
from buildbot.plugins import reporters
|
|
|
|
zs = reporters.ZulipStatusPush('{{ zulip_url }}',
|
|
token='api_key',
|
|
stream='{{ recommended_channel_name }}')
|
|
c['services'].append(zs)
|
|
|
|
When adding the new reporter, modify the code above such that `api_key`
|
|
is the API key of your Zulip bot, and `stream` is set to the channel name
|
|
you want the notifications sent to.
|
|
|
|
[1]: https://docs.buildbot.net/latest/manual/configuration/reporters/zulip_status.html
|
|
|
|
{!congrats.md!}
|
|
|
|

|