Some features in this build may require manual reconfiguration of your builds.
If your database configuration differs from default HSQLDB settings, you'll have to configure database in a separate database.properties file. This file should be located in the TeamCity data config directory (defaults $HOME\.BuildServer\config). After the first run of TeamCity template files database.mysql.properties and database.hsqldb.properties are be placed to this directory for reference. Copy one of them to database.properties and edit settings according to your database configuration.
driverName=com.mysql.jdbc.Driver connectionUrl=jdbc:mysql://localhost/buildserver connectionProperties.user=username connectionProperties.password=pass maxConnections=50 poolPreparedStatements=true shutdownStatement= shutdownCompactStatement= connectionProperties.useLocalSessionState=true connectionProperties.elideSetAutoCommits=true connectionProperties.alwaysSendSetIsolation=false
Ipr, Inspections, Duplicates runners
TeamCity provides enhanced dialog to setup builds which depend on IntelliJ IDEA's IPR project file. Unfortunately, it was impossible to convert old configuration to the new one, so after upgrade to this version of TeamCity you'll have to tweak your configuration manually.
This page will provide options to configure project JDK, path variables, global libraries. If some module files could not be obtained from VCS, this will be shown as well.
Java Service Wrapper is used to run build agents as Windows service
There is no more agentd.exe in the new agent installation.
To run service user can use <agent>/bin/service.start.bat
To stop service user can user <agent>/bin/service.stop.bat
To install service <agent>/bin/service.install.bat
To uninstall service <agent>/bin/service.uninstall.bat
Installed agent will still use agentd.exe. Auto updates should work correctly as well. But, to migrate to the new service wrapper user should reinstall agent explicitly.
Using new service wrapper allows user to change any agent JVM parameters.
To upgrade agent from agentd service to java service wrapper:
- Uninstall agent
- use uninstaller/add remove programs
- ensure agent service is stoped
- Install new agent using any distribution you like (zip, java web start, windows installer
- Make sure agent service is working under right user account. Using SYSTEM tend may affect MSBuild/Sln2005 configurations to fail.
Agent process will have a name TeamCityAgentService-windows-x86-32.exe
To work with net.exe utility please use the name TCBuildAgent. For
net start TCBuildAgent - start agent
Links to build artifacts has changed
IDE plugins changes
Eclipse plugin with remote run (Subversion) and changes view
TeamCity plugin works with Eclipse 3.2+ and requires plugin Subclipse 1.2.0.
Eclipse plugin for TeamCity features:
- Watched Projects View
- Displays TeamCity projects user is watching for and their properties.
- Changes View
- Displays builds triggered by user VCS changes, remote run builds and their properties.
Both watched projects and changes views display TeamCity builds and build configuration statuses, allow to open build log of selected build in Eclipse. Cumulative watched projects and remote run builds statuses are displayed in Eclipse status bar.
- Remote Run View.
- Displays locally modified files that could be committed to TeamCity as 'remote run' build. This view is dynamically updated in the same manner as standard Eclipse 'Synchronize' view.
- Navigation from build logs opened within Eclipse to files referenced in log and from the web client to the Eclipse is supported.
- "Open in Web" actions opens selected objects in web browser.
IntelliJ IDEA plugin
- Option to remember password
- Continuously refresh status of running builds
- Memory leak fixes
Visual Studio plugin: Changes view + Delayed Commit for TFS
Look at some screenshots:
Image Added Image Added Image Added
Dependent builds and Ivy integration
TeamCity allows to depend one build configuration on another one in terms of artifacts. I.e. if one build configuration requires library produced by another build configuration, you can easily add such dependency and dependent library will be downloaded to the specified place right before build start.
Moreover, TeamCity artifacts repository acts as Ivy repository, so you can reference and use artifacts from TeamCity in your ant builds!
Automatic integration of third-party reporting tools
If your build produces some HTML/text/image report which is available as artifact of your build, you can easily create a custom report tab which will show your report embedded right to TeamCity. To do it:
- In your build script, add a task which archives your whole report into some zip or jar file. Let's name this file "report.zip" (this is step is required if your report contains hundreds of files)
- For the build configuration, which produces such a report, add "report.zip" (or name of directory with report files) to Artifact paths of this build.
- In $HOME/.BuildServer/config/main-config.xml add the following line within <server> tag:
In this line, "title" is title of the tab and it should be unique, "startPage" specifies relative path of start page within zip file or in directory with report files. Default value for startPage is index.html.
<report-tab title="A Report" basePath="report.zip" startPage="index.htm" /> <report-tab title="A Report2" basePath="reportDir" startPage="index.html" />
Duplicates runner - Web UI
From now, duplicates results are available in the Web UI. You can easily open file with duplicates in IDE, by clicking the link near file with duplicate.
Possibility to clone projects
Enhanced "My Changes" view
Now you can see the current status of the change, not only the first one. See screenshot.
Several Maven fixes
Add "Run" button to configuration screens
TeamCity data directory
TeamCity data directory can be configured in two ways: