As we are approaching 3.1 release, this EAP represents the state of the TeamCity 3.1 as it will be released after a short stabilization period.
TeamCity 3.1 is a maintenance release with lots of bugs fixed and some minor features added.
Now it is possible to receive notifications only when the build status changes. Two options are added: "Limit to only the first successful build after failed" and "Limit to only the first failed build after successful":
In order to better analyze TeamCity build agents load, we have introduced Agents statistics that allows to visualize agents load during the specified time period (this statistics is visible to non-Guests in Professional edition and to users with Developer or Agent Manager roles in Enterprise edition):
Now you can specify in what mode (x86 or x64) to run the NUnit tests.
Also NUnit 2.4 is now supported. Please refer to the appropriate documentation section for configuration instructions.
NAnt 0.86 support is added.
As TeamCity reports tests on-the-fly and not after all the tests were finished, every testing framework needs it's own support for the feature.
In this release we are introducing an easy way to report running tests information to TeamCity: just print specially formatted message to the standard output of the build process and TeamCity knows there is a test!
Here is the list of supported service messages:
Test suite messages: ##teamcity[testSuiteStarted name='suite.name'] ##teamcity[testSuitFinished name='suite.name'] Test messages: ##teamcity[testStarted name='testname'] "testFinished" message should be sent for every test (successful and failed) ##teamcity[testFinished name='testname'] ##teamcity[testIgnored name='testname' message='ignore comment'] Test output reporting (to be shown as the test result is the test fails). A test should have no more then one testStdOut and one testStdErr message ##teamcity[testStdOut name='testname' out='text'] ##teamcity[testStdErr name='testname' out='text'] ##teamcity[testFailed name='testname' message='failure message' details='stack trace'] ##teamcity[testFailed type='comparisonFailure' name='testname' message='failure message' details='stack trace' expected='expected value' actual='actual value'] (actual and expected attributes are used when opening the test in the IDE)
Please note that each message should be followed by a newline.
Another cool feature of service messages is that now you can publish build artifacts, while the build is still running.
Just output the following line:
And the files matching the "path" will be uploaded and visible as artifacts of the running build.
Please note that publishing artifacts process can affect the build because it consumes network traffic and some disk/CPU resources (should be pretty negligible for not large files/directories).
Artifacts that are specified in the build configuration setting will be published as usual.
Now you can navigate to any build configuration from any page. Projects tab has drop-down list:
And all the information of a queued build (start estimate, agent assignment) is now available right from the Projects page:
Build runners now support Build working directory setting.
The build script will be run from the specified directory set as current. Defaults to checkout directory.
Now you can tweak what data should be deleted. The available option are:
Now you can search builds ran on specific agent using "@<agent_name>" syntax. This works in the quick search field by the right side of the header.
In addition, you can filter history of builds of particular build configuration by part of the agent name.
Since this release you also can: