2019-03-30 23:04:52 +01:00
|
|
|
Get Zulip notifications for your Buildbot builds!
|
|
|
|
|
|
|
|
!!! tip ""
|
2021-09-10 00:44:29 +02:00
|
|
|
|
2019-03-30 23:04:52 +01:00
|
|
|
This integration requires Buildbot version 2.2.0 or higher.
|
|
|
|
|
|
|
|
1. {!create-stream.md!}
|
|
|
|
|
2022-06-26 02:38:55 +02:00
|
|
|
1. {!create-a-bot.md!}
|
2019-03-30 23:04:52 +01:00
|
|
|
|
|
|
|
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_stream_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 stream name
|
|
|
|
you want the notifications sent to.
|
|
|
|
|
2021-06-11 02:15:34 +02:00
|
|
|
[1]: https://docs.buildbot.net/latest/manual/configuration/reporters/zulip_status.html
|
2019-03-30 23:04:52 +01:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/buildbot/001.png)
|