QuickBuild support add your custom statistics data and will generate the statistics chart and build overview automatically. For example, we use a test framework named rubyunit and want QuickBuild to collect the following indicators: total test count, failed test count, passed test count and total duration, then we will:
First, we will define the statistics data structure in QuickBuild. To define the data structure:
7. Click 'Save' button.
After defining the custom statistics category, you can now add a publish 'Custom Statistics Report' step:
In this step, you can select a category which you defined before and then publish the XML reports where you want QuickBuild to collect the statistics data from. Just like all other publish report step, here you can specify the file patterns, step failure condition and failure message.
Now, you can run your configuration. After running finished, QuickBuild will show the indicators value in Build Dashboard like below:
and display the statistics chart in Statistics tab like below: