Dashboard > CruiseControl.NET Community > ... > Contributions > XSL Report Project
XSL Report Project Log In View a printable version of the current page.

Added by Dmitry Makhno , last edited by Ross Patterson on Sep 24, 2007  (view change) show comment
Labels: 
(None)

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.

See the notes on how to deploy CCNet plugins to install the plugin.
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:

Powered by a free Atlassian Confluence Open Source Project / Non-profit License granted to ThoughtWorks, Inc.. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators