TeamCity Webhooks #8524

Closed
opened 2025-11-02 08:09:45 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @firephreek on GitHub (Feb 8, 2022).

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:

Originally created by @firephreek on GitHub (Feb 8, 2022). 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 <token>" 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
GiteaMirror added the type/featuretopic/webhooks labels 2025-11-02 08:09:45 -06:00
Author
Owner

@firephreek commented on GitHub (Feb 9, 2022):

Work for this feature is in PR https://github.com/go-gitea/gitea/pull/18668

@firephreek commented on GitHub (Feb 9, 2022): Work for this feature is in PR https://github.com/go-gitea/gitea/pull/18668
Author
Owner

@oliverpool commented on GitHub (Nov 7, 2022):

You should already be able to (mis)use the current Matrix hook for this purpose.

After the release 1.19 (which should include #20926), you should be able to use any hook which performs a POST request.

@oliverpool commented on GitHub (Nov 7, 2022): You should already be able to (mis)use the current Matrix hook for this purpose. After the release 1.19 (which should include #20926), you should be able to use any hook which performs a POST request.
Author
Owner

@techknowlogick commented on GitHub (Nov 7, 2022):

closing as dupe of https://github.com/go-gitea/gitea/issues/1089

@techknowlogick commented on GitHub (Nov 7, 2022): closing as dupe of https://github.com/go-gitea/gitea/issues/1089
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#8524