Closed
Description
Gitea has webhooks for a variety of platforms including MSTeams, Discord, Slack, and others. Unfortunately, TeamCity is not amongst them. I'd like to fix that.
Notes:
-
TeamCity has a single end point used for triggering VCS builds.
-
End point takes a POST request with no body
-
An "Authorization: Bearer " header is required.
- Addressing this by adding a BearerToken property to HookTask. When the actual request is built, the property is checked and if it has a value, the header will be added.
-
TeamCity REST API: https://www.jetbrains.com/help/teamcity/rest-api.html
-
TeamCity REST API Reference: https://www.jetbrains.com/help/teamcity/rest-api-reference.html