d99cf09270
Summary: Improve the README giving an overview of the project and why it was needed. Also add the MIT licence since we are going to open source the plugin and credit the orginal author the Harbormaster files we are using. Also updated the TeamCity build definition to include build number in the plugin output file. Test Plan: Packaged locally to verify the version number is included in the plugin zip. Other changes were text in the README and LICENCE Reviewers: #dev, rob.marshall Reviewed By: #dev, rob.marshall Subscribers: rob.marshall Differential Revision: https://phab.xlab.uk/D2704 |
||
---|---|---|
.. | ||
build | ||
phabricator-plugin-agent | ||
phabricator-plugin-common | ||
phabricator-plugin-server | ||
pom.xml | ||
readme.txt | ||
teamcity-plugin.xml |
TeamCity plugin This is an empty project to develop TeamCity plugin. 1. Implement This project contains 3 modules: '<artifactId>-server', '<artifactId>-agent' and '<artifactId>-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. 2. Build Issue 'mvn package' command from the root project to build your plugin. Resulting package <artifactId>.zip will be placed in 'target' directory. 3. 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.