Plugin API FAQ
What are basic entry points for TeamCity API?
See initial notes on Server Side Extensions and Typical Plugins pages.
How to create hooks for build start/fail/success and other events?
Implement BuildServerListener (or, better, extend BuildServerAdapter).
How to label sources?
For a finished build, you can label sources using the SFinishedBuild:setLabel call. A list of VCS Roots can be created using the results of SBuild:getVcsRootEntries call.
Last modified: 20 April 2023