TeamCity integration
Learn how to integrate TeamCity with ilert to automatically send build and deployment alerts, enabling real-time incident notifications and faster response times.
TeamCity is a powerful continuous integration and delivery (CI/CD) server developed by JetBrains, used to build, test, and deploy code automatically. The ilert integration for TeamCity enables you to automatically send build and deployment alerts to ilert
In ilert: Create a TeamCity alert source
Go to Alerting → Alert sources and click Create new alert source.
Search for TeamCity, click its tile, and click Next.
Give your alert source a name, optionally assign teams, and click Next.
Choose who gets notified: select Use existing escalation policy and pick a policy, or Generate new escalation policy to start with a basic one that notifies you first. Click Next.

Pick an existing escalation policy, or generate a basic one without leaving the wizard. Select Default grouping and click Continue setup. It groups events by the alert key the integration sets; the other grouping options are easier to judge once events are arriving.
The next page shows more settings, such as notification priority and alert templates. Click Finish setup for now; you can change them later.
On the final page, ilert shows the integration key and URL for this alert source. You will need them later in this guide.

In TeamCity: Enable and configure Webhook
On the side bar, navigate to Admin -> Projects -> <Root project>.

Now click on Parameters -> Add new parameter.

Add following parameter: Name:
teamcity.internal.webhooks.enableValue:true

Add another parameter: Name:
teamcity.internal.webhooks.urlValue: enter the in ilert previous generated alert source url

Add another parameter: Name:
teamcity.internal.webhooks.eventsValue:BUILD_STARTED; BUILD_FINISHED; BUILD_INTERRUPTEDClick on Save to finish the setup.

FAQ
Will alerts in ilert be resolved automatically?
No, unfortunately TeamCity is not compatible with ilert's resolve event.
Last updated
Was this helpful?