2024-07-09 14:17:52 +02:00
|
|
|
# Zulip TeamCity integration
|
|
|
|
|
2021-12-17 05:13:07 +01:00
|
|
|
Get Zulip notifications for your TeamCity builds!
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2024-07-09 14:17:52 +02:00
|
|
|
{start_tabs}
|
|
|
|
|
2024-05-05 22:30:09 +02:00
|
|
|
1. {!create-channel.md!}
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2023-09-21 02:23:45 +02:00
|
|
|
1. {!create-an-incoming-webhook.md!}
|
|
|
|
|
2024-07-09 14:17:52 +02:00
|
|
|
1. {!generate-webhook-url-basic.md!}
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2024-07-09 14:17:52 +02:00
|
|
|
1. Install the [tcWebHooks plugin][1] onto your TeamCity server. Follow
|
|
|
|
the plugin instructions in your TeamCity documentation, or refer to
|
|
|
|
[the online TeamCity documentation][2].
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2024-07-09 14:17:52 +02:00
|
|
|
1. Go to your TeamCity **Overview** page. Select the **Project** or
|
|
|
|
**Build** you'd like to receive notifications about, and click on the
|
|
|
|
**WebHooks** tab. Click **Add project WebHooks** for a **Project**,
|
|
|
|
or click **Add build WebHooks** for a **Build**. Select **Click to
|
|
|
|
create new WebHook for this project/build**.
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2024-07-09 14:17:52 +02:00
|
|
|
1. Set **URL** to the URL generated above, and set **Payload Format** to
|
|
|
|
**Legacy Webhook (JSON)**. Untoggle all **Trigger on Events** options,
|
|
|
|
and toggle **Trigger when build is Successful** and **Trigger when
|
|
|
|
build Fails**. You may also toggle the options **Only trigger when
|
|
|
|
build changes from Failure to Success** and **Only trigger when build
|
|
|
|
changes from Success to Failure** if you'd like. Click **Save**.
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2024-07-09 14:17:52 +02:00
|
|
|
{end_tabs}
|
2017-06-01 04:38:24 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
2018-08-01 20:54:30 +02:00
|
|
|
![](/static/images/integrations/teamcity/001.png)
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2024-07-09 14:17:52 +02:00
|
|
|
### Personal Builds
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2024-07-09 14:17:52 +02:00
|
|
|
When a user runs a personal build in TeamCity, if Zulip can map their
|
|
|
|
TeamCity username to a Zulip user (by matching it to a Zulip user's
|
|
|
|
email address or full name), then that Zulip user will receive a direct
|
|
|
|
message with the result of their personal build.
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2018-08-01 20:54:30 +02:00
|
|
|
![](/static/images/integrations/teamcity/002.png)
|
2024-07-09 14:17:52 +02:00
|
|
|
|
|
|
|
### Related documentation
|
|
|
|
|
|
|
|
- [tcWebHooks plugin][1]
|
|
|
|
|
|
|
|
- [TeamCity plugin installation documentation][2]
|
|
|
|
|
|
|
|
{!webhooks-url-specification.md!}
|
|
|
|
|
|
|
|
[1]: https://github.com/tcplugins/tcWebHooks/releases
|
|
|
|
[2]: https://www.jetbrains.com/help/teamcity/installing-additional-plugins.html
|