Developing TeamCity Plugins
Last modified: 20 April 2023TeamCity is a highly extendable system. You can add various plugins in different places, including, but not limited to:
Custom notifiers
Custom build triggers
Custom build runners with possibility to view customized reports on the Web
Extensions to Ant Runner which allows to add custom logging and view reports on the Web
Custom statistics reports based on the information in the database
Custom user authentication
Support of additional VCS
Currently, TeamCity can be extended on the Agent Side Extensions, and on the Server Side Extensions (including Web UI Extensions). Some extensions may require to extend TeamCity in all these places. We plan to provide a Typical Plugins and how to write them.
TeamCity server is written in Java, so plugins should be written in Java too.
tip
TeamCity is compiled using JDK 1.5, so plugins should use JDK 1.5 as well.
TeamCity .exe
and tar.gz
distributions provide materials for plugin developers in the <TeamCity home>\devPackage
directory.
openApi-source.jar
- sources of the TeamCity open APIopenApi-help.jar
- JavaDoc generated form the open API sourcessamplePlugin.zip
- sample TeamCity plugin IntelliJ IDEA project. To open it, you will need the following path variables defined:TOMCAT6
pointing to TeamCity home,TEAMCITYPATH
pointing to Teamcity web application directory (<TeamCity home>/webapps/ROOT
by default).
Thanks for your feedback!