The Xsl Report Project Plugin shows detailed output for recent builds using a configured XSL Transform.
To configure the CruiseControl.NET webdasboard, edit dashboard.config and configure Project plugin block, then customize to your transformation.
The plugin can found on the Attachments tab as dll.
 | Before deploying, be sure you have a version of CCNet that has fixes for issue CCNET-673 and any issues that are related to it. |
Example
<xslReportProjectPlugin description="Pivot Report" actionName="PivotReport" maxBuildsCount="5" xslFileName="xsl\MyPivotReport.xsl" />
<xslReportProjectPlugin description="Pivot Report2" actionName="PivotReport2" xslFileName="xsl\MyPivotReport2.xsl" />
 | Be careful when setting maxBuildsCount. The default value can sometimes decrease the perfomance of the dashboard, especially in cases of long logs or large numbers of logs. |
Configuration Elements:
| Node |
Description |
Type |
Default |
Required |
| actionName |
A name for the action for this instance of the plugin. This must be strictly alpha-Numerical with no spaces and must be unique. |
string |
N/A |
true |
| xslFileName |
The file containing the XSL transform to use. The path is relative to the root directory of the Web Dashboard. |
string |
N/A |
true |
| description |
The description that will appear for the plugin in the Dashboard. |
string |
N/A |
true |
| maxBuildsCount |
Limit on the number of builds that will be returned for transformation. 0(Zero) means "all". |
int |
"0" |
false |
Template
Here is the template to understand what is the structure of transformed xml.
<buildLogs>
<buildLog wasSuccesfull="bool" label="string" dateTime="string" filename="string">
<<Build File Content>>
</buildLog>
<buildLog wasSuccesfull="bool" label="string" dateTime="string" filename="string">
<<Build File Content>>
</buildLog>
</buildLogs>
Sources
XslReportPojectPlugin.zip
Example of transformations
The following examples are very simple. They are used only for checking Plugin functionality.
In actual use, you might want to add some additional columns, or not to have a tabular representation at all.
Pivot Report for ALL builds
File: PivotReport1.xsl
Looks like:

Pivot Report for Successful Builds
File: PivotReport2.xsl
Looks like:
