-
Run
gradlew idea
to generate IDEA files. -
Run
gradlew
to build the plugins. -
Run
gradlew cpz
to build and copy plugins to ".BuildServer/plugins". -
Run
gradlew cps -DTeamCityApp=<TC directory>
to copy plugins static resources (jsp, js, and css files).<TC directory>
is a directory where TC web application is located, such as "~/TeamCity/webapps/bs". It should contain a "plugins/yourPlugin" directory with your plugin static resources.Make sure "~/.BuildServer/config/internal.properties" contains
"teamcity.development.mode=true"
, see wiki for more details.