Teamcity 代理连接到 CVS 超时
有谁知道 Teamcity 构建代理在连接到成功测试的 CVS 存储库时会超时的原因吗?
因此,我有一个 CVS 存储库(不要问!),我正在尝试将其连接到 TeamCity 构建。我已添加 VCS 根目录,并按下“测试连接”按钮并被告知“连接成功”。然而,当我在构建代理中使用 VCS 根时,我只是遇到超时。
java.util.concurrent.ExecutionException:jetbrains.buildServer.vcs.VcsException:收集“TMC :: Map Client”更改时出现问题:收集 VCS 根“InVehicle\MapClient”更改时出错 java.net.SocketTimeoutException:读取超时
TeamCity 的版本是最新的可用版本 (6.0),目前正在专业许可证上运行。
我们的 LAN 有一个代理,但是当我将代理详细信息放入 TeamCity 中时,我无法通过仪表板进行连接。
构建 Web 服务器和构建代理都在同一台计算机上,并且它们都作为本地系统帐户运行,因此我无法理解为什么一个可以工作而另一个不能。
Does anyone know a reason why a Teamcity build agent would timeout when connecting to a successfully tested CVS repository?
So, I have a CVS repository (don't ask!) which I'm trying to hook up to a TeamCity build. I've added the VCS root, and pressed the "Test Connection" button and been told "Connection Successful". Yet, when I come to use the VCS root in the build agent I just get a timeout.
java.util.concurrent.ExecutionException: jetbrains.buildServer.vcs.VcsException: Problem collecting changes for 'TMC :: Map Client' : Error collecting changes for VCS root 'InVehicle\MapClient'
java.net.SocketTimeoutException: Read timed out
The version of TeamCity is the latest one available (6.0), and it's currently running on the Professional License.
Our lan has a proxy, but when I put the proxy details into TeamCity I can't connect via the dashboard.
The Build Web Server and Build Agent are both on the same machine and they are both running as Local System accounts, so I'm failing to see why one works and the other doesn't.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您是否尝试过禁用代理签出并将 VCS 签出模式设置为“自动在服务器上”
您可以查看代理/服务器日志以获取有关出现问题的更多信息。
Have you tried disabling agent checkout and settings VCS Checkout Mode to "Automatically On Server"
You can look at the agent/server logs to get more info about what is going wrong.
嗯,我确信这种行为是 CruiseControl.Net 和 CVS 中的错误造成的。实际的解决方案?放弃CVS,我们终于做到了。感谢您的意见。
Well, I'm convinced that this behaviour is the result of a bug in CruiseControl.Net and CVS. The actual solution? Abandon CVS, which we have finally done. Thanks for your input.
使用 SSH 方式配置 VCS。
将部署密钥添加到您的 git 存储库并将密钥添加到 team city
Use SSH way of configuring VCS.
add deploy keys to your git repo and add keys into team city