mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
The context property was previously being used in the macro `git-webhook-url-with-branches` which has been removed as it is not in use any longer. The context property was now being used only in 2 integration docs, both of which used it only in a single location, and directly used their own names as the channel name. Making the context property unnecessary.
30 lines
906 B
Markdown
30 lines
906 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='buildbot')
|
|
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!}
|
|
|
|

|