在 Windows Server 2003 上运行 CruiseControl.NET 1.4.4 SP1 服务时出现 SVN+SSH 身份验证问题
SVN+SSH 协议非常适合登录用户,因为我们在后台为该用户运行 Pageant(PuTTY 身份验证代理)。当我们尝试运行 ccservice(而不是 ccnet.exe 应用程序)时,svn+ssh 失败。我在配置中缺少什么才能使其正常工作?
<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
<project name="ProjectXCore" queue="ProjectXQueue" queuePriority="1">
<workingDirectory>D:\cc\ProjectX\code\trunk\src\</workingDirectory>
<artifactDirectory>D:\cc\ProjectX\artifact\</artifactDirectory>
<category>ProjectX</category>
<webURL>http://localhost/ccnet/</webURL>
<modificationDelaySeconds>30</modificationDelaySeconds>
<labeller type="defaultlabeller">
<prefix>0.1.</prefix>
<incrementOnFailure>true</incrementOnFailure>
<labelFormat>000</labelFormat>
</labeller>
<state type="state" directory="State" />
<sourcecontrol type="svn">
<trunkUrl>svn+ssh://10.10.2.19/srv/svn/ProjectX/trunk/src</trunkUrl>
<workingDirectory>D:\cc\ProjectX\code\trunk\src</workingDirectory>
<executable>C:\Program Files\Subversion\bin\svn.exe</executable>
<username>super</username>
<password>duper</password>
<timeout units="minutes">5</timeout>
</sourcecontrol>
如果有帮助,请在服务器上安装 TortoiseSvn。我不确定是否需要添加一些命令行开关才能使其正常工作或什么。
The SVN+SSH protocol works great for the logged-in user because we have Pageant (PuTTY authentication agent) running in the background for that user. When we try to run the ccservice (as opposed to the ccnet.exe app) the svn+ssh fails. What am I missing in the config to get it working?
<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
<project name="ProjectXCore" queue="ProjectXQueue" queuePriority="1">
<workingDirectory>D:\cc\ProjectX\code\trunk\src\</workingDirectory>
<artifactDirectory>D:\cc\ProjectX\artifact\</artifactDirectory>
<category>ProjectX</category>
<webURL>http://localhost/ccnet/</webURL>
<modificationDelaySeconds>30</modificationDelaySeconds>
<labeller type="defaultlabeller">
<prefix>0.1.</prefix>
<incrementOnFailure>true</incrementOnFailure>
<labelFormat>000</labelFormat>
</labeller>
<state type="state" directory="State" />
<sourcecontrol type="svn">
<trunkUrl>svn+ssh://10.10.2.19/srv/svn/ProjectX/trunk/src</trunkUrl>
<workingDirectory>D:\cc\ProjectX\code\trunk\src</workingDirectory>
<executable>C:\Program Files\Subversion\bin\svn.exe</executable>
<username>super</username>
<password>duper</password>
<timeout units="minutes">5</timeout>
</sourcecontrol>
TortoiseSvn is installed on the server if that helps. I'm not sure if I need to add some command-line switches to get it to work or what.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想我已经弄清楚了,这个配置正在工作:
我收回它,那个配置不起作用,旧版本的配置被缓存了:-(
不过这个现在正在工作:
I think I've figured it out, this config is working:
I take it back, that config didn't work, an older version of the config was cached :-(
This one is working now though: