开发者

CruiseControl.Net - inclusion of html report? (I get 'Unable to find file')

I have build that produces a (NCover 3.4 Summary) html report.

I'd like to configure the Dashboard to show the html report.

The report is produced perfectly in working folder during the build - my problem is referencing the report from the Dashboard. Should I do something to store it from working folder into the 'cc.net build records'? I don't really understand the inner workings there...

My use of plugin in the Dashboard.config is shown below. I don't know what I should use actionName for and have left it with value from documentation.

The link in CC.Net resolves开发者_Python百科 as: http://DummyServerName/ccnet/server/local/project/DummyProject/build/log20101221100723Lbuild.2.0.0.176.xml/viewReport.aspx

Thanks for any comments,

Anders, Denmark

  <htmlReportPlugin description="NCover Summary" actionName="viewReport" htmlFileName="coverage_summary.html" />


From the CCNET Documentation [1] :

This plug-in can display any file that is in the build folder under artefacts folder for the project. It cannot display files from any other location (for security reasons). Files can be published to a build folder using the File Merge Task. This will automatically generate the correct folder structure for the HTML reports.

Either way, you can generate an xml report, merge it into the ccnet log and use an xsl to display it in the dashboard/emails.[2]

[1] http://build.nauck-it.de/doc/CCNET/HTML%20Report%20Plugin.html
[2] http://docs.ncover.com/how-to/continuous-integration/cruisecontrol-net/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜