CruiseControl.NET 电子邮件不包含构建结果或错误
我有一些失败的构建,并且从 CCNET 发送的电子邮件中缺少构建数据?
它包含测试运行和修改,但没有构建或错误数据?
我不认为我弄乱了 xsl 的..有什么想法吗?
更新:
是的,我看过 http://confluence.public.thoughtworks.org/display/CCNET/Email+ Publisher
和 Yes 在发布者部分中,我在发送电子邮件之前调用了 xmllogger
更新:
我不确定这是否意味着什么,但是..在compile.xsl 中它会查找
/cruisecontrol/ /buildresults//message
但没有“buildresults”节点?
它就这样……
巡航控制 -->构建--> msbuild(然后是警告、项目、消息等)
更新:
在 ccservice.exe.config 中包含以下内容。没有提到msbuild??
xsl\标题.xsl xsl\编译.xsl xsl\单元测试.xsl xsl\fit.xsl xsl\修改.xsl xsl\fxcop-summary.xsl
-- 李
I have some failing builds and the build data is missing from the emails sent from CCNET?
It contains tests run and modifications but no build or error data?
I don't think I have messed up the xsl's.. any thoughts?
UPDATE :
Yes i've looked at
http://confluence.public.thoughtworks.org/display/CCNET/Email+Publisher
and Yes in the publishers section i've called xmllogger before email
UPDATE :
I'm not sure if this means anything but.. in the compile.xsl it looks for
/cruisecontrol//buildresults//message
but there is no 'buildresults' node??
It just goes..
cruisecontrol --> build --> msbuild (then warnings, project, messages etc etc)
UPDATE :
Have the following in ccservice.exe.config. No mention of msbuild??
xsl\header.xsl
xsl\compile.xsl
xsl\unittests.xsl
xsl\fit.xsl
xsl\modifications.xsl
xsl\fxcop-summary.xsl
-- Lee
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
昨天我在新安装的 Cruisecontrol 即服务中遇到了类似的问题。
确保您在 ccnetservice.exe.config(如果您正在运行该服务)和 ccnet.exe.config(如果您运行控制台版本)中指定了正确的 xsl 文件。
更新后,您需要重新启动服务/控制台应用程序。
HTH
编辑:
您使用的是标准 msbuild 记录器,还是 Rodemeyer 的记录器?如果您使用的是 Rodemeyer,则需要使用不同的 XSL 转换 (
msbuild2ccnet.xsl
) 到正常的 (compile.xsl
、msbuild.xsl
) 。 此处有一个指南检查您的输出是否为将其写入构建日志,位于
server\\artifacts
中。如果您修改了 xsl,请确保其位于正确的文件夹中(
webdashboard\xsl
和server\xsl
)。您可以通过复制构建日志文件来测试 xsl 是否正常工作(请参阅server\\artifacts
目录)。到文件,并将相关的 XSL 包含添加到标头,然后在 Web 浏览器中打开 XML 文件)编辑:
(位于 ccservice.exe 的
部分) .config,添加另一行,如下所示:或者
由于我没有使用标准记录器(尽管如此),我不确定需要哪一个。尝试其中一种,如果不起作用,请尝试另一种!
I had a similar problem yesterday with a new install of cruisecontrol as a service.
Make sure you have specified the correct xsl files in the
ccnetservice.exe.config
(if you are running the service) andccnet.exe.config
if you running the console version.you need to restart the service/console app once these are updated.
HTH
Edit:
Are you using the standard msbuild logger, or Rodemeyer's one? If you are using Rodemeyer's, you need to use diffrent XSL transforms (
msbuild2ccnet.xsl
) to normal (compile.xsl
,msbuild.xsl
). There is a guide for that hereCheck that your output is making it to the build log, located in
server\<projectName>\artifacts
.If you have modified the xsl, make sure its in the correct folder (
webdashboard\xsl
andserver\xsl
). You can test the xsl works fine by copying the build log file (seeserver\<projectName>\artifacts
directory). to a file, and adding the relevant XSL includes to the header then opening the XML file in a web browser)EDIT:
in the
<xslFiles>
section of ccservice.exe.config, add another line like this:or
as i am not using the standard logger (you are though), i am uncertain as to which of those is needed. try one, then if that doesnt work, try the other!