1.6 KiB
Get Zulip notifications for your Teamcity builds!
-
{!create-stream.md!}
-
{!create-bot-construct-url-indented.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 private message with the result of their personal build.