DataDog / ci-teamcity-plugin

Apache License 2.0
2 stars 1 forks source link

[CIAPP-5556] Handling canceled builds in TeamCity #33

Closed andrea-mosk closed 1 year ago

andrea-mosk commented 1 year ago

What does this PR do?

Our current plugin type is "notifier", which means that we are extending the TeamCity NotificatorAdapter class and overriding the methods there to define what to do when we are notified about builds succeeding or failing. With the current approach, there's no way to get a notification when a build is canceled instead, therefore I'm switching to define the plugin as a BuildServerAdapter, which allows us to be notified also on canceled builds (via the buildInterrupted() method).

Review checklist