Files
zulip/zerver/webhooks/semaphore/doc.md
Abhinav 41fc7b2ae1 webhooks/semaphore: Add support for Semaphore 2.0 notifications.
Semaphore has currently has two different versions of their product -
Classic and 2.0. This commit adds support for Semaphore 2.0, along side
Semaphore Classic, using the same webhook. This would let the integration
work seamlessly for users who have already configured a Zulip integration in
their Semaphore 2.0 projects.

Semaphore 2.0 currently only supports GitHub and their payloads do not
contain URLs for common entities like commits, pull requests and tags. We
construct URLs for them using templates, but also try to support other
services by providing notifications without URLs.

Closes #14171

Co-authored-by: Puneeth Chaganti <punchagan@muse-amuse.in>
2020-04-09 12:41:40 -07:00

21 lines
645 B
Markdown

Get Zulip notifications for your Semaphore builds!
1. {!create-stream.md!}
1. {!create-bot-construct-url-indented.md!}
1. In Semaphore 2.0, under **Configuration** select **Notifications**. Click on
**Create New Notification**. Add the the URL constructed above to the Webhook
**Endpoint** field.
If you are using Semaphore Classic, in your Semaphore project, go to
**Project settings**, and select the **Notifications** tab. Click on
**Webhooks**, and click **+ Add Webhook**.
1. Set **URL** to the URL constructed above, and click
**Save Settings**.
{!congrats.md!}
![](/static/images/integrations/semaphore/001.png)