| 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
|
Agent-Side ExtensionsCurrently, there are two ways to extend build agent:
Both approaches use similar way of plugin packaging and deployment (see below). DescriptorPlugin descriptor for the build agent plugins is named build-agent-plugin.xml. A build agent reads its plugins using <container> <component class="jetbrains.buildServer.agent.nant.NAntBuildRunner"/> </container> Package your build agent plugin as a zip archive with the following content: <pluginName> <pluginName>/lib/ <pluginName>/lib/pluginJar1.jar <pluginName>/lib/pluginJar2.jar <pluginName>/otherDir/ <pluginName>/otherDir/someFile.txt This archive will be unpackaged in the plugins subdirectory during the build agent installation: buildAgent/ buildAgent/bin/ buildAgent/lib/ buildAgent/plugins/<pluginName>/ buildAgent/plugins/<pluginName>/lib/ buildAgent/plugins/<pluginName>/otherDir/ Writing Ant ExtensionImplement jetbrains.buildServer.agent.ant.AntTaskExtension interface and register it as a component in DeploymentTo deploy a build agent plugin:
|
Comments (1)
Apr 24, 2008
Yegor Yarko says:
Agent plugin sample:Agent plugin sample: http://www.intellij.net/forums/thread.jspa?messageID=5213711