Type:
Feature
Priority:
Critical Critical  
State:
Fixed
Subsystem:
Unknown
Reporter:
Jacques Morel (jacmorel) Send Email
Assignee:
Kirill Maximov (maxkir) Send Email
Affects:
No affected versions
Fixed in:
Benares EAP(5504)
Created:
21 months ago (15 Feb 2007 19:09)
Updated:
13 months ago (16 Oct 2007 05:12)
Votes:
7
Resolved:
JIRA source:
TW-1756
No attachments

Related to TW-1665,


Some of these reports have summary data that would be great to display at the same level as the unit tests summary on the build list:
Successful build: coverage, number of acceptance tests
Failed build: reason of the failure: # of failed acceptance tests, checkstyle errors, jdepend cycles...


As an example, we are running fitnesse as our acceptance test frameworks and we would like to show like for unit tests, how many ran and how many failed.
So instead of the current
Tests passed: <% unit tests>
it could be
Tests passed: 1234 junit, 789 fitnesse


In the case of failure, it would be great to be able to tell what made the build fail: 10 checkstyle errors, 3 cycles...


Couldn't this be a simple xml build summary report that could be used by the build to annotate a build in TC? More than a summary report, this file would be the definition of a TC build. It would specify all customizable attributes of a build. Maybe that file could be in fact what tells TC what artifacts are available and where...


(Originally from http://www.intellij.net/forums/thread.jspa?messageID=5182037&#5182037)


Issue wasclosed

  • Kirill Maximov (maxkir) Send Email
    21 months ago (16 Feb 2007 21:00)

Among with statistics support, should develop some (xml-based?) API which would allow to incorporate third-party metrics into statistics reports and build result pages.

  • Yegor Yarko (yaegor) Send Email
    18 months ago (22 May 2007 18:15)

Small interim summary:
TeamCity should allow plugins to customize:
- build status message (provide HTML for it? or just text and link target?)
- summary data for displaying on build results page
- export some metrics for statistics

  • Kirill Maximov (maxkir) Send Email
    15 months ago (15 Aug 2007 18:26)


Hi,


 I plan to provide the following functionality:


 - Server-side OpenAPI to affect build status and build status text
 - A bundled plugin (open source) which
    - adds implicit artifact path teamcity-info.xml
    - when build is finished and artifacts are uploaded, reads and processes artifact file teamcity-info.xml with the following format:
<build>
    <statusInfo status="FAILURE"> <!-- or SUCCESS -->
       <text action="append">fitnesse: 45</text>
       <text action="append">coverage: 54%</text>

       <!-- possible actions for text tag can be append,prepend, replace -->

    </statusInfo>
</build>



 Will this work for you? 
 We also plan to add statistics metrics to this file in the future, to allow to build custom graphs without writing TeamCity plugin. But this is other story.


 Regards,
 KIR

  • Kirill Maximov (maxkir) Send Email
    15 months ago (15 Aug 2007 21:36)

In TeamCity OpenAPI new server extensions available:
BuildStatusProvider
and
TextStatusBuilder

  • Christopher Hamilton (chamilton) Send Email
    14 months ago (24 Aug 2007 18:21)
  • Jacques Morel (jacmorel) Send Email
    14 months ago (27 Aug 2007 10:19)

Kirill


> Among with statistics support, should develop some (xml-based?) API which would allow to incorporate third-party metrics into statistics reports and build result pages.
Absolutely. I would say that not all stats from 3rd party should be included in the summary (maybe some could spill into a popup?). More stats should be available in the stats reports.
XML would be good for that.


Jacques

  • Kirill Maximov (maxkir) Send Email
    13 months ago (15 Oct 2007 18:29)

The next EAP will contain XML api for basic statistics graphs.
Please take a look at the docs at http://www.jetbrains.net/confluence/display/TCD3/Including+Third-Party+Reports+in+the+Build+Results

  • Jacques Morel (jacmorel) Send Email
    13 months ago (16 Oct 2007 05:12)

Great. I will look into it when you release it.

Old New
Jacques Morel (jacmorel) - 13 months ago (16 Oct 2007 05:12)

JetBrains Tracker revision #2008 [13-Nov-2008 11:56] (version #56) Copyright 2007-2008 JetBrains s.r.o.