1.6 KiB
Get Zulip notifications for your TeamCity builds!
-
{!create-stream.md!}
-
{!create-an-incoming-webhook.md!}
-
{!generate-integration-url.md!}
-
Install the tcWebHooks plugin onto your TeamCity server. Follow the plugin instructions in your TeamCity documentation, or refer to the online TeamCity documentation.
-
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.
-
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.
-
Optionally, check Only trigger when build changes from Failure to Success and Only trigger when build changes from Success to Failure.
-
Click Save.
{!congrats.md!}
Personal Builds
When a user runs a personal build, if Zulip can map their TeamCity username to a Zulip user (by comparing it with the Zulip user's email address or full name), that Zulip user will receive a direct message with the result of their personal build.