Files
David Rosa 620854d437 integrations: Add incoming webhook macro to relevant docs.
Several integration docs instruct the user to create a bot, but don't
specify that the type of bot should be "Incoming webhook".

Renames create-a-bot.md -> create-an-incoming-webhook.md for clarity,
and replaces all incomplete instructions with this macro.
Renames bot_types.png -> bot_types_incoming_webhook.png and updates
the image with a screenshot of the latest UI.
2022-09-09 16:31:33 -07:00

925 B

Get Zulip notifications for your Buildbot builds!

!!! tip ""

This integration requires Buildbot version 2.2.0 or higher.
  1. {!create-stream.md!}

  2. {!create-an-incoming-webhook.md!}

  3. Edit the Buildbot configuration file to add a new Zulip reporter (or follow the steps listed here):

     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.

{!congrats.md!}