Starting from this EAP, you can enable the two-way synchronization of your project settings with the version control. If synchronization is enabled, then:
- each administrative change you make to the project settings in the TeamCity Web UI is committed to the version control
- if you alter the settings in the version control, the TeamCity server will detect the modifications and apply them to the project on the fly.
Enabling synchronization for the project also enables it for all its subprojects. TeamCity synchronizes all changes to the project settings (including modifications of build configurations, templates, VCS roots, etc.) with the exception of SSH keys. The project settings are stored in the .teamcity folder in the repository.
Be aware that as soon as synchronization is enabled in a project, TeamCity will make one commit for this project and one for each of its subprojects to import the current settings. Enabling synchronization for a project with a large number of subprojects will generate a large number of commits.
You can enable synchronization on the Versioned Settings page of the project administration.
TeamCity will not only synchronize the settings, but will also automatically display changes to the project settings the same way it is done for regular changes in the version control. These changes are shown in all of the project build configurations automatically. As a side effect they can also trigger builds. If this is not desirable, a possible workaround is to attach settings VCS root to build configuration and exclude all of the changes with -:. checkout rule.
- At the moment the only supported version control is Git.
- When running a history build in TeamCity, the current project settings will be used.
- Project settings may contain scrambled passwords. Once you enable settings synchronization, everyone who has developer role in the project will be able to see these passwords using changes diff.
Similarly to Disk Usage, now you can see the comparative statistics of build time for projects and build configurations: the Build Time report is now available in the Project-related Settings of the TeamCity Administration area.
By default, the report displays total build duration within the last 24 hours for the server and individual projects with the percentage in relation to the parent project. The scope can be further drilled down to the build time of an individual build configuration:
The grouping and period settings can be modified.
Starting from this version, we changed the way TeamCity works with a test which is run several times within a single build (for instance, this change affects TestNG tests with the invocation count > 1). Previously each test invocation was counted and shown as a separate test. For example, when you saw: Tests passed 1100, these counters included all invocations. Now, instead of 1100 tests you will see 1001 if one of the tests has been invoked 100 times, i.e. all invocations of the same test are counted as 1.
Consequently, you may see a reduced number of tests in some of your builds, which may affect the build status if the failure condition is set to "fail a build if the number of tests reduces".
We have reworked storing data in tables, which should significantly speed up the backup and restore operations.
Clean-up settings for an individual project have been moved to the project settings; the general clean-up rules are still configured in the Administration area.
We changed the location of the build logs, so they are now placed in the build artifacts directory under .teamcity/logs directory. Besides build data unification this allows removing build logs using artifact cleanup rules, while leaving builds in the history. Note that backup / restore does not support new location of build logs yet.
We are also working on moving the clean-up operation to the background, and in this release you may notice that time when server is inaccessible because of clean-up is really small. Our goal is to remove this time completely in version 9.0.
The national character sets (nchar, nvarchar, nclob types) for text fields are now supported in MS SQL and Oracle databases used by TeamCity. You can now use Unicode characters in the following fields in TeamCity:
- TeamCity user names (not logins)
- VCS committers' names
- VCS commit descriptions
- file names
- build status text
- tags (on promotions and builds)
- test names
- mute and investigation comments
- values of environment variables received from agents (in the agent types)
- audit comments
It is now easy to install a new meta-runner on your server: just upload the meta-runner XML definition file to a project where you want to use it.
TeamCity now provides an option of tagging queued builds. There are several ways of doing it:
- from the Run Custom Build dialog
- from the Build Queue page
- from the Actions menu of the queued build page
Tags are now supported for running builds as well.
- The TeamCity plugin loader now supports plugin dependencies
- Visual Studio Addin now supports Resharper 8.2 and dotCover 2.7
- Server health reports checking build trigger configuration errors added
- LDAP integration has a reworked error reporting which is now more likely to produce more specific and guiding error messages
- fixed issues