使用VisualSVN Server和Cruisecontrol.net检查内容集成中的修改失败 [英] Check for modification failure in content Integration using VisualSVN Server and Cruisecontrol.net

查看:82
本文介绍了使用VisualSVN Server和Cruisecontrol.net检查内容集成中的修改失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用CruiseControl.net进行持续集成。我已经使用VisualSvn服务器(使用Windows身份验证)为我的项目创建了一个存储库。两台服务器都托管在同一系统(Os-Microsoft Windows Server 2003 sp2)中。

I am using CruiseControl.net for continous integration. I've created a repository for my project using VisualSvn server (uses Windows Authentication). Both the servers are hosted in the same system (Os-Microsoft Windows Server 2003 sp2).

当我强制使用CruiseControl.net构建项目时, 失败的任务 (s):Svn:CheckForModifications 显示为消息。当我检查生成报告时,它表示如下:

When i force build the project using CruiseControl.net "Failed task(s): Svn: CheckForModifications" is shown as the message. When i checked the build report, it says as follows:

BUILD EXCEPTION 
Error Message: ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: OPTIONS of 'https://system:8443/svn/folder/Source': **Server certificate verification failed: issuer is not trusted** (https://system:8443). Process command: C:\Program Files\VisualSVN Server\bin\svn.exe log **sameUrlAbove** -r "{2010-04-29T08:35:26Z}:{2010-04-29T09:04:02Z}" --verbose --xml --username ccnetadmin --password cruise --non-interactive --no-auth-cache
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetModifications (IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request) 

我的ccnet.config中的SourceControl节点如下所示:

My SourceControl node in the ccnet.config is as shown below:

<sourcecontrol type="svn">
  <executable>C:\Program Files\VisualSVN Server\bin\svn.exe</executable>
  <trunkUrl>
    check out url
  </trunkUrl>
  <workingDirectory>
    C:\ProjectWorkingDirectories\folder\Source
  </workingDirectory>
  <username>
   ccnetadmin
  </username>
  <password>
     cruise
  </password>
</sourcecontrol>

有人可以建议如何避免此错误吗?

Can any one suggest how to avoid this error?

推荐答案

subversion错误消息说

The subversion error message says

svn: https://sp-ci.sbsnetwork.local:8443 / svn / IntranetPortal / Source 服务器证书验证失败:发布者不受信任 https:// sp-ci .sbsnetwork.local:8443 )。

svn: OPTIONS of 'https://sp-ci.sbsnetwork.local:8443/svn/IntranetPortal/Source': Server certificate verification failed: issuer is not trusted (https://sp-ci.sbsnetwork.local:8443).

这告诉我,您的 svn不信任https的您的服务器。

This tells me that your 'svn' doesn't trust the https certificate of your server.

您可以通过执行以下操作来解决此问题:

You can fix this by performing something like

svn info https://sp-ci.sbsnetwork.local:8443/svn/IntranetPortal/Source

(另一种选择是使CruiseControl通过--trust-server-cert进行svn,但我不知道您需要哪种配置选项)

(Another option would be to make CruiseControl pass --trust-server-cert to svn, but I don't know which configuration option you need for that)

这篇关于使用VisualSVN Server和Cruisecontrol.net检查内容集成中的修改失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆