gpt4 book ai didi

svn - 使用VisualSVN Server和Cruisecontrol.net检查内容集成中的修改失败

转载 作者:行者123 更新时间:2023-12-04 13:44:08 25 4
gpt4 key购买 nike

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

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

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”节点如下所示:
<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>

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

最佳答案

颠覆错误消息说
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证书。

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

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

作为用户运行cruisecontrol,然后接受证书。

(另一种选择是使CruiseControl将--trust-server-cert传递给svn,但我不知道您需要哪种配置选项)

关于svn - 使用VisualSVN Server和Cruisecontrol.net检查内容集成中的修改失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2736166/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com