
Regardless of the TeamCity version you’ve selected, you will be asked to enter the Maven groupId, artifactId and the version for your plugin. repository -DarchetypeArtifactId=teamcity-sample-plugin Sample plugin: mvn :maven-archetype-plugin:2.4:generate Plugin with both the server and agent parts: mvn :maven-archetype-plugin:2.4:generate DarchetypeArtifactId=teamcity-server-plugin Server-side-only plugin: mvn :maven-archetype-plugin:2.4:generate The Maven commands to generate projects for different plugins depending on the TeamCity version are given below:

Common module (a module with shared code).Agent module (encapsulates logic that will be run on the agent side).Build module (contains only configuration files and defines how the plugin is compiled).
#TEAMCITY TOOL ZIP FILE#
Organizing the business logic of the plugin.Ī plugin in TeamCity is a zip file containing a Java class file, JSP files, resources, and plugin descriptor files.Steps for implementing a TeamCity Plugin include:
