最近在搞一个每日自动编译代码的项目
上网查了很久找到了一篇文章讲的很详细,按照他的步骤架构已经搭建起来。
http://technet.microsoft.com/zh-cn/ff806311.aspx
但是在从SVN取代码的时候总是抛错
Source control operation failed: svn: OPTIONS of 'https://li.joy.com/svn/': Server certificate verification failed: issuer is not trusted (https://li.joy.com)
. Process command: D:/Program Files/VisualSVN Server/bin/svn.exe log https://li.joy.com/svn/ -r "{2010-12-16T08:39:12Z}:{2010-12-16T08:39:20Z}" --verbose --xml --username xiaowu --password ******** --no-auth-cache --non-interactive
意思就是不信任SVN的证书,我用的解决办法就是:
找到服务中的CruiseControl.NET Server
把它的登录用户设置成可以访问SVN的用户即可。
解决了以上这个错误,就可以用另一篇文章的内容去实现自动编译发布网站:
http://ttzhang.blog.51cto.com/1557644/310276
其中的WebDeployment for Vs2008的下载地址是: