Plugin API FAQ

Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 3.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.
Documentation Index

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.

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.