Tracking performance metrics across builds
After doing our builds, we want to run some tests which will measure the performance of the latest build.
Is there an easy way to show the performance numbers as graphs inside teamcity for each build without writing a big complicated plugin?
Please sign in to leave a comment.
Hi,
I have to same requirement. I posted this -- http://www.jetbrains.net/devnet/thread/283345?tstart=0
Scott
You can create a teamcity-info.xml file with the statistics. Here's mine with gcc warnings and errors:
georog-dev:/home/daniel/BuildAgent/work/trunk> cat teamcity-info.xml
<build>
<statusInfo status="SUCCESS">
<text action="append"> errors: 0</text>
<text action="append"> warnings: 525</text>
</statusInfo>
<statisticValue key="warningsKey" value="525" />
</build>
This is the easiest way I know of to create nice graphs within TeamCity.
Details: http://www.jetbrains.net/confluence/display/TCD3/Build+Script+Interaction+with+TeamCity
Regards,
Daniel Lidström
Stockholm, Sweden
The same can also be done with help of service messages. Service messages can be more convenient because there is no need to clean previous teamcity-info.xml file when build start.