In this section:
Prerequisites
- To provide Remote Run, Pre-Tested (Delayed) Commit and some other features TeamCity
Plugin for Eclipse requires VCS integration with Subversion, CVS, Git, and/or Perforce. In order to
use these features you need to install corresponding plugins:
For integration with SVN: Subclipse or Subversive.
Quick links: Subclipse installation instructions, 1.6.x update site, 1.4.x update site. Subversive download pageFor integration with Perforce: P4Eclipse plugin.
Important Ensure that you have initialized the Perforce support (for example, perform project update) after opening the project and before using the TeamCity Remote Run feature.For integration with CVS: CVS plugin for Eclipse For integration with Git: EGit plugin for Eclipse - Eclipse must be run under JDK 1.5 or later.
- TeamCity Plugin for Eclipse allows you to run builds remotely and commit changes for
supported version control systems, even if there is no Eclipse-integration plugin for the version
control system installed.
To use this feature you need to create
.teamcity-mappings.properties
configuration mapping file. For more information, see the TeamCity Command Line Remote Run Tool documentation.
Logging in to TeamCity Server
The TeamCity Plugin commands are only available when you are logged in to your build server. If a connection is not established, the status bar displays the icon, and TeamCity Watched Projects and TeamCity My Changes views display an invitation to log in.
To log in to a build server
- On the main menu, choose TeamCity > Login.
Tip: Alternatively, do one of the following:
- Double-click the button in the status bar
- Click Login button in the TeamCity Watched Projects or TeamCity My Changes view.
The TeamCity Login dialog box opens. - In the URL field, specify the URL of the desired build server.
- In the User name and Password fields, specify your account information obtained from the TeamCity administrator.
- Optionally, to log in automatically, select the Log in when Eclipse starts check box.
- Click OK.
TeamCity Views
TeamCity Plugin for Eclipse adds the following artifacts to the Eclipse user interface:
- TeamCity item on the main menu
- Status bar icons that display a state of the builds.
- TeamCity Watched Projects view
- TeamCity Changes view
- TeamCity Tests view
- TeamCity Local Changes view