|
Getting Started with Build Breaking Changes |
|
|
|
- Download the Latest release of the `BBC` and `BBC Plugin` in the Download Page.
- Instaling the Plugin:
- Stop the CC.Net Service
- Unzip the contents of the `BBC` file into your Application folder, eg: %PROGRAMFILES%/bbc )
- Unzip the contents of the `BBC Plugin` file into your CruiseControl server folder (usually %PROGRAMFILES%/CruiseControl.NET/server/ )
If asked to overwrite files and not sure about the impact, choose NOT TO OVERWRITE.
- Configuring the CC.Net server
- Locate your ccnet.config file (usually %PROGRAMFILES%/CruiseControl.NET/server/ ccnet.config )
- Add to the Task section of the file, the config for Build Breaking Changes as follow:
<bbc> <!-- Path of the files that'll be analysed --> <FromPath>C:\BuildServer\Build\Code\Stormwind.Common\CI\Stormwind.Common\Trunk\Baseline \build\net-2.0\release\binaries</FromPath> <!-- Path of bbc.exe executable --> <ExePath>C:\BuildServer\ProgramFiles\bbc\bbc.exe</ExePath> <!-- Mask to filter the files that'll be analysed --> <Mask>Stormwind.Common.*.dll</Mask> </bbc>
- Configuring the WebDashboard
- Locate your dashboard.config file (usually %PROGRAMFILES%/CruiseControl.NET/webdashboard/ ccnet.config )
- Add to the xslFileNames section of the desired project as follow:
<xslFile>xsl\BBCCompareSummary.xsl</xslFile> - Add to the buildReportBuildPlugin section of the desired project as follow:
<xslReportBuildPlugin description="BBCCompare Report" actionName="BBCCompareReport" xslFileName="xsl\BBCCompareReport.xsl"/> - Copy the Plugin XSL files (inside de CNET folder) to the XSL folder of the Dashboard ( usually %PROGRAMFILES%/CruiseControl.NET/webdashboard/XSL/ )
- Start the CC.Net Service
- Testing the Plugin integration
- Build the Project twice so the plugin builds a dff report analysis. You should see de BBCCompare Report in your project.
|
|
Last Updated ( Sunday, 04 November 2007 )
|