- Go to
Idea -> Properties -> Appearance & Behavior -> Path Variables
; - Fill variable
TeamCityDistribution
value as path to TeamCity directory; - Go to
Build -> Build Artifacts -> zip -> Build
; - After that plugin file
jetbrains.git.zip
will be atdist
folder.
TeamCity directory is:
- In case when you have sourcecode of TeamCity - it is path to
dist-teamcity-tomcat
artifact (Build -> Build Artifacts -> dist-teamcity-tomcat -> Build
, then folder will be<teamcity project dir>/.idea_artifacts/dist-teamcity-tomcat
); - In case when you have TeamCity tar.gz file then it is path to unpacked distributive directory.