zulip/zerver/webhooks/teamcity/doc.md

1.6 KiB

Get Zulip notifications for your Teamcity builds!

  1. {!create-stream.md!}

  2. {!create-bot-construct-url-indented.md!}

  3. Install the tcWebHooks plugin onto your Teamcity server. Follow the plugin instructions in your Teamcity documentation, or refer to the online Teamcity documentation.

  4. 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.

  5. 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.

  6. Optionally, check Only trigger when build changes from Failure to Success and Only trigger when build changes from Success to Failure.

  7. 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.