This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Feb 14, 2013 11:56 PM by AnneTheAgile  
Ashish Sharma Newbie 2 posts since
Feb 13, 2013
Currently Being Moderated

Feb 13, 2013 7:56 PM

Is there an API for reading build statistics like code coverage, build duration, etc. from TeamCity 7.x?

Hi,

 

Is there an API for reading build statistics like code coverage, build duration, etc. from TeamCity 7.x?

Is this exposed through a web-api (REST web-service)? If not, is there any way to access these statistics from C# .Net code?

 

I am interested in the following statistics:

1. Number of unit tests for a configuration over a period

2. Number of builds per day for a configuration over a period

3. Build duration over a period

 

I know that these are available as graphs in Teamcity but we need to pull this data into custom Dashboard.

 

Thanks

AnneTheAgile Newbie 73 posts since
Oct 28, 2011

I wonder if the plugins can help. I found in my settings, default plugins, but I don't know how to use them to make them more detailed or put them in othe rlocations.

 

1.Plugin ; For ex.,

Statistics: build duration
Support for build duration statistics 24074  JetBrains, s.r.o.  <WEB-INF>\buildDurationStatisticsPlugin

 

1a.That is apparently the Statistics tab on a build, but I would like to save off this info in my own manner.

http://confluence.jetbrains.com/display/TCD65/Statistic+Charts

More Like This

  • Retrieving data ...