TeamCity plugin provides TeamCity integration for IntelliJ Platfrom-based IDEs. These include IntelliJ IDEA, RubyMine, PhpStorm, WebStorm and others.
See a separate section on the list of supported versions.
TeamCity integration provides the following features:
- Remote Run and Pre-Tested (Delayed) Commit,
- possibility to review the code duplicates,
- analyzing the results of remote code inspections,
- monitoring the status of particular projects and build configurations and the status of changes committed to the project code base,
- viewing failed tests and build logs
- taking responsibility for failed build
- applying quick-fixes to the results of remote code analysis: the problematic code can be highlighted in the editor and you can work with a complete report of the project inspection results in a toolwindow
- downloading and viewing only the new inspection results that appeared since the last build was created
work with the results of server-side code duplicates search in the dedicated toolwindow
- accessing the server-side code coverage information and visualizing the portions of code covered by unit tests.
This section covers:
Installing the Plugin from the Plugin Repository
The plugin repository has a TeamCity plugin from one of the recently released versions. You can install the plugin from repository (e.g. from IntelliJ IDEA Settings > Plugins), enter the address of your local TeamCity server and let the plugin update itself to the version corresponding to the server.
To install the TeamCity plugin for IntelliJ platform IDE:
- In IDE, open the Settings dialog. To do so either press Ctrl+Alt+S or choose File > Settings... from the main menu.
- Open Plugins section under IDE Settings to invoke the Plugins dialog.
- On the Plugins dialog, open the Available tab to view a list of available plugins.
- Select JetBrains TeamCity Plugin, click the
button, and click OK.
- Restart the IDE.
Installing the Plugin Manually
The plugin for IntelliJ platform can be downloaded from the TeamCity Tool area on the My Settings & Tools page.
To install the TeamCity plugin:
- Navigate to the My Settings & Tools page. Under the IntelliJ Platform Plugin section in the TeamCity Tools area, click the download link, and save the archive.
- Make sure that IDE is not running and unzip the archive into the IDE user plugins directory.
Plugins directory for IntelliJ IDEA is located in:
- Windows: C:\Documents and Settings\<username>\.IntelliJIdea<vers.>\config\plugins
- OS X: $HOME/Library/Application Support/IntelliJIDEA<vers.>
- Linux/Unix: $HOME/.IntelliJIdea<vers.>/config/plugins
Plugins directory for RubyMine is located in:
- Windows: C:\Documents and Settings\<username>\.RubyMine<vers.>\config\plugins
- OS X: $HOME/Library/Application Support/RubyMine<vers.>
- Linux/Unix: $HOME/.RubyMine<vers.>/config/plugins
 | After you have installed a newer version of the plugin, you cannot rollback to its previous version. |
All additional information on how to work with TeamCity plugin is available in IDE Help System.
Configuring IntelliJ IDEA-platform based IDE to Check for Plugin Updates
This is only available since TeamCity 5.1.
- In IntelliJ IDEA , open Settings/ Updates
- Add "http://<your_teamcity_server_URL>/update/idea-plugins.xml" to the list
- Set "Check for updates" to "Daily"
- Press "Apply", then "Check Now"