mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
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>
645 B
645 B
Get Zulip notifications for your Semaphore builds!
-
{!create-stream.md!}
-
{!create-bot-construct-url-indented.md!}
-
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.
-
Set URL to the URL constructed above, and click Save Settings.
{!congrats.md!}
