Code Dx TeamCity plugin
This is the Code Dx TeamCity plugin project.
-
Implement
This project contains 3 modules: '-server', '-agent' and '-common'. They will contain code for server and agent parts of your plugin and a common part, available for both (agent and server). When implementing components for server and agent parts, do not forget to update spring context files under 'main/resources/META-INF'. Otherwise your compoment may be not loaded. See TeamCity documentation for details on plugin development.
-
Build
Issue 'mvn package' command from the root project to build your plugin. Resulting package .zip will be placed in 'target' directory.
-
Install
To install the plugin, put zip archive to 'plugins' dir under TeamCity data directory. If you only changed agent-side code of your plugin, the upgrade will be perfomed 'on the fly' (agents will upgrade when idle). If common or server-side code has changed, restart the server.
The lib/
folder is treated as Maven repository so that the jar file doesn't need to be manually published.