How to add a web hook for a specific assembly in TeamCity

How to start the assembly and add a web hook to it through the REST API? Or just how to add a web hook to build by ID via API? I went through all the TC REST documentation but could not find an answer.

Thanks.

+4
source share
1 answer

There is documentation on running builds through the REST API with TeamCity 8.1 here . Basically, you need to send a POST request to http://[server]/httpAuth/app/rest/buildQueueusing the node assembly as content. There are node assembly examples in the documentation. If you are using an earlier version of TeamCity, you can run the build through a script by following the instructions here .

, tcWebHooks, webhooks TeamCity .

+7

Source: https://habr.com/ru/post/1528966/


All Articles