2021-12-17 05:13:07 +01:00
|
|
|
Get Zulip notifications for your TeamCity builds!
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2018-08-01 20:54:30 +02:00
|
|
|
1. {!create-stream.md!}
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2022-06-26 02:38:55 +02:00
|
|
|
1. {!create-bot-construct-url.md!}
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2018-08-01 20:54:30 +02:00
|
|
|
1. Install the [tcWebHooks plugin](https://github.com/tcplugins/tcWebHooks/releases)
|
2021-12-17 05:13:07 +01:00
|
|
|
onto your TeamCity server. Follow the plugin instructions in your
|
|
|
|
TeamCity documentation, or refer to [the online TeamCity documentation][1].
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2018-08-01 20:54:30 +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.
|
|
|
|
If you'd like to configure webhooks for a **Project**, click on
|
|
|
|
**Add project WebHooks**. If you'd like to configure webhooks for a specific
|
|
|
|
**Build**, click on **Add build WebHooks**. Click on
|
|
|
|
**Click to create new WebHook for this project/build**.
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2018-08-01 20:54:30 +02:00
|
|
|
1. Set **URL** to the URL constructed above. Set **Payload Format** to
|
|
|
|
**Legacy Webhook (JSON)**. Uncheck all **Trigger on Events** options,
|
|
|
|
and check **Trigger when build is Successful** and **Trigger when build Fails**.
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2018-08-01 20:54:30 +02:00
|
|
|
1. Optionally, check **Only trigger when build changes from Failure to Success**
|
|
|
|
and **Only trigger when build changes from Success to Failure**.
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2018-08-01 20:54:30 +02:00
|
|
|
1. Click **Save**.
|
2017-06-01 04:38:24 +02:00
|
|
|
|
2018-08-01 20:54:30 +02:00
|
|
|
[1]: https://confluence.jetbrains.com/display/TCD9/Installing+Additional+Plugins
|
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
|
|
|
|
|
|
|
**Personal Builds**
|
|
|
|
|
2021-12-17 05:13:07 +01:00
|
|
|
When a user runs a personal build, if Zulip can map their TeamCity
|
2018-08-01 20:54:30 +02:00
|
|
|
username to a Zulip user (by comparing it with the Zulip user's email
|
|
|
|
address or full name), that Zulip user will receive a private
|
2017-06-01 04:38:24 +02:00
|
|
|
message with the result of their personal build.
|
|
|
|
|
2018-08-01 20:54:30 +02:00
|
|
|
![](/static/images/integrations/teamcity/002.png)
|