这几天每天晚上都在学着使用cc.net,其他模块都挺好配置的,唯独mail设置耗时很久,原因网上也没什么很好的说明文字,特将我的调试过程记录如下(第二点对于像我这样的初学者要仔细看):
一:配置文件一定要写对,一定要仔细写,比我我很丢脸的就把我的mailhostUsername的节点设置错了两次,“*****”没有加"qq.com"; "qq.co"少加了一个字母“m”,虽然这让,配置文件验证工作CCValidator不会报错,但肯定会运行失败 我copy一份我本地的供大家参考:
<email mailport="25" includeDetails="TRUE" mailhostUsername="*****@qq.com" mailhostPassword="******" useSSL="FALSE">
<from>******@qq.com</from>
<mailhost>smtp.qq.com</mailhost>
<users>
<user name="*1" group="leader" address="****@hotmail.com" />
<user name="*2" group="teamleader" address="*****@163.com" />
<user name="*3" group="buildmaster" address="****@126.com" />
<user name="*4" group="developers" address="******@qq.com" />
</users>
<groups>
<group name="CTO">
<notifications>
<notificationType>Fixed</notificationType>
</notifications>
</group>
<group name="teamleader">
<notifications>
<notificationType>Fixed</notificationType>
</notifications>
</group>
<group name="developers">
<notifications>
<notificationType>Failed</notificationType>
<notificationType>Fixed</notificationType>
</notifications>
</group>
<group name="buildmaster">
<notifications>
<notificationType>Always</notificationType>
</notifications>
</group>
</groups>
<converters>
<regexConverter find="{1}quot; replace="@qq.com" />
</converters>
<modifierNotificationTypes>
<NotificationType>Failed</NotificationType>
<NotificationType>Fixed</NotificationType>
</modifierNotificationTypes>
<subjectSettings>
<subject buildResult="StillBroken" value="Build is still broken for {CCNetProject}" />
</subjectSettings>
<xslFiles>
<file>xsl\header.xsl</file>
<file>xsl\compile.xsl</file>
<file>xsl\unittests.xsl</file>
<file>xsl\modifications.xsl</file>
</xslFiles>
<attachments>
<file>E:\testspace\CCnetgroup\first\other\AFile.txt</file>
<file>Relative.txt</file>
</attachments>
</email>
二:一定要把邮箱的smtp打开,因为我看cc.net只支持smtp,而且大部分邮箱都默认smtp为关闭状态,由于这个原因,CCValidator会报 unused node异常; 我以qq邮箱为例,设置截图如下:
分享到:
相关推荐
CruiseControl.NET-CCTray-1.8.4.0-Setup.exe
CruiseControl.NET 是 .NET 平台下的持续集成工具,CruiseControl (Java) 的 .NET 移植版本。CruiseControl是一个针对持续构建程序(项目持续集成)的框架,它包括一个email通知的插件,Ant和各种各样的CVS工具。Cruise...
CruiseControl.NET-1.4.4-Setup.exe
CruiseControl.NET是用于.NET平台的自动化连续集成服务器。 它是CruiseControl for Java的C#端口。
CruiseControl.NET-CCTray-1.5.6804.1-Setup
CruiseControl.NET-1.8.2.0-Setup.exe ccnet 服务端
Curisecontrol持续集成的客户端版,CruiseControl.NET-CCTray-1.4.1-Setup.exe
CruiseControl.NET CruiseControl.NET是用于.NET平台的自动化连续集成服务器。 它是CruiseControl for Java的C#端口。 发行版 可以从下载高达1.8.5的版本。 发展 要求 视窗 Visual Studio 2019或Visual Studio ...
CruiseControl.NET-1.4-Setup
本文的目的:本文总结了过去一年中使用CruiseControl.Net来对工作流程进行持续化集成的经验教训,详细地讲述安装,配置,使用CruiseControl.Net的具体步骤,希望通过阅读本文,能理解和掌握使用CruiseControl.Net的...
CruiseControl 安装包,配合MSbuild 和Wix 可进行自动发布版本,在cc.net 中进行各种参数的配置,开发工程的源代码部分要求必须有一个.wixproj.
CruiseControl.NET-1.8.4.0
用于检测项目是否编译成功的客户端软件,开发网站或者软件项目,自动检测项目的当天是否出错了。
集成CruiseControl.NET, NAnt, and NUnit一起工作。
CruiseControl.NET-CCTray-1.8.2.0-Setup.exe ccnet每日构建客户端
这是我花勒3天终于研究出来的项目编译与监视的东西,中途卡了好久,差点就放弃勒,现在挂多个项目不同时间自动编译
我需要搭建一个C++项目的持续集成的环境 (windows的程序),所以这几天学习了一下CruiseControl.Net(以下简称CCNet),把整个过程跟大家分享一下。如果你没有用过CCNet,跟着我实战一把,相信会领你入门的。本文准备...