Cruise Control .Net not showing Nant build errors(Cruise Control .Net 未显示 Nant 构建错误)
问题描述
我们正在运行 Cruise Control 1.5.7256.1,并使用它使用 Nant 和 Nantcontrib 进行构建.构建失败并正确成功,但是当它们失败时,相关的错误消息将显示在 CCNet 构建报告页面上.见下图
We are running Cruise Control 1.5.7256.1 and using it to do builds using Nant and Nantcontrib. The builds are failing and succeeding correctly, but when they fail the related error messages are being shown on the CCNet Build Report page. See image below
可以在查看构建日志"页面上看到构建错误,但它们不会进入构建报告"页面.构建本身非常简单,它只是一个构建 .Net 3.5 .sln 文件的 Nantcontrib msbuild 元素.
The build errors can be seen on the View Build Log page, but they aren't making it through to the Build Report page. The build itself is pretty simple, it's just a Nantcontrib msbuild element that builds a .Net 3.5 .sln file.
有什么想法吗?
推荐答案
你检查过dashboard.config 文件吗?在这个文件中,您可以像这样在 xslfileNames 部分添加/删除 xsl 日志解析器:
Did you check the dashboard.config file? In this file you can add/delete xsl log parsers in the xslfileNames section like this :
<buildPlugins>
<buildReportBuildPlugin>
<xslFileNames>
<xslFile>xslheader.xsl</xslFile>
<xslFile>xslcompile.xsl</xslFile>
<xslFile>xslcompile-msbuild.xsl</xslFile>
<xslFile>xslunittests.xsl</xslFile>
<xslFile>xslMsTestSummary.xsl</xslFile>
<xslFile>xslmodifications.xsl</xslFile>
</xslFileNames>
</buildReportBuildPlugin>
<...>
</buildPlugins>
如果你想在你的报告中输出 Nant 输出,你必须有 xslcompile.xsl 这一行.
If you want Nant outputs in your report, you must have the xslcompile.xsl line.
您在 server/ccnetservice.exe.config 中有一个类似的部分用于电子邮件.
You have a similar section in the server/ccnetservice.exe.config which is used for emails.
如果您更改 webdashboard.config 中的某些内容,则必须重新启动整个 iis 才能看到修改.
If you change something in webdashboard.config, you'll have to restart the whole iis to see the modifications.
这篇关于Cruise Control .Net 未显示 Nant 构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Cruise Control .Net 未显示 Nant 构建错误


- 如何用自己压缩一个 IEnumerable 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- MoreLinq maxBy vs LINQ max + where 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- 输入按键事件处理程序 2022-01-01