2011-01-10 73 views
0

我有设置,如果有最近修改轮询SVN服务器,并在理论更新一个CruiseControl的配置文件。然而每当触发被击中,它失败:颠覆与CruiseControl的触发器:无法协商认证机制

ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation failed: svn: Cannot negotiate authentication mechanism 
. Process command: C:\Program Files\Subversion\bin\svn.exe update C:\Source\Wholesale\XXXX.SWControl.TestingFramework\ --username mmayo --password ******** --no-auth-cache --non-interactive 
    at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo) 
    at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.UpdateSource(IIntegrationResult result) 
    at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetSource(IIntegrationResult result) 
    at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build(IIntegrationResult result) 
    at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request) 

在我的配置相关的线路有:

<sourcecontrol type="svn"> 
     <trunkUrl>http://app7002-svn.oy.gb.sportingindex.com/CoreAPI/trunk/Wholesale/XXXX.EventControl.TestingFramework</trunkUrl> 
     <executable>C:\Program Files\Subversion\bin\svn.exe</executable> 
     <workingDirectory>C:\Source\Wholesale\SPIN.SWControl.TestingFramework\ 
     </workingDirectory> 
     <username>mmayo</username> 
     <password>********</password> 
     </sourcecontrol> 
     <triggers> 
     <intervalTrigger name="Subversion" seconds="60" /> 
     </triggers> 

有在网络上的各种问题谈论它怎么可能是SSH密钥对的问题,但考虑到简单的设置,缺少SSH和所有这些,我确信这只是我错过的简单东西。

或者,如果你已经有了一个工作TortoiseSVN的CC.Net剧本,我很乐意看到它;)

+0

您可以发布您`svnserver.conf`文件(颠覆配置文件)? – TridenT 2011-01-10 18:41:42

回答

1

从您的构建服务器,你尝试过手动拉下使用这些证书的代码,或用你自己的凭据?如果两者都不起作用,svn服务器可能会阻止构建服务器。

另一个潜在的 - 你有没有尝试设置主干网址设置为 “SVN:// ...” 的不是 “http:// ...”?根据你的svn服务器的设置,这可能是访问项目的一种更简单的方法。

1

我曾与乌龟SVN 1.7 BETA 64位这一问题的Windows 64下,有和没有CruiseControl.Net。

的解决方案是在

HKEY_LOCAL_MACHINE \ SOFTWARE \卡内基梅隆\项目赛勒斯\ SASL库

(我要创建这个 “路径”)

添加客户端PC上的注册表项

与标签:

SearchPath中

其中包含字符串:

C:\路径\到\ SVN \二进制\与\ sassl \ SUPPORT \ BIN

这是...... “\ TortoiseSVN的\ BIN” 我

发现:

http://wiki.nullstack.net/SVN_cannot_negotiate_authentication_mechanism