Cruisecontrol SVN 代理问题

发布于 2024-07-26 11:36:01 字数 1745 浏览 4 评论 0原文

当 Cruisecontrol 启动 svnbootstrapper 时,会在 Cruisecontrol 日志文件中记录异常。


2009-07-07 14:29:41,942 [BuildQueueThread] INFO BuildQueue - 现在添加到线程队列: trunk-edumatic-3-framework-client 2009-07-07 14:29:41,942 [Thread-25] INFO 项目 - 项目 trunk-edumatic-3-framework-client:引导 2009-07-07 14:29:41,942 [Thread-25] INFO ProjectController - trunk-edumatic-3-framework-client 控制器:构建进度事件:引导 2009-07-07 14:30:03,615 [Thread-26] 警告 SVNBootstrapper - svn:“repo-url”的选项:无法连接到服务器(主机) 2009-07-07 14:30:03,725 [Thread-25] INFO 项目 - 项目 trunk-edumatic-3-framework-client:空闲 2009-07-07 14:30:03,725 [Thread-25] INFO ProjectController - trunk-edumatic-3-framework-client 控制器:构建进度事件:空闲 2009-07-07 14:30:03,725 [Thread-25] 错误项目 - 尝试在项目 trunk-edumatic-3-framework-client 中构建时发生异常 net.sourceforge.cruisecontrol.CruiseControlException:svn 进程退出,错误代码 1 在net.sourceforge.cruisecontrol.util.CommandExecutor.executeAndWait(CommandExecutor.java:119) 在 net.sourceforge.cruisecontrol.util.Commandline.executeAndWait(Commandline.java:617) 在net.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper.bootstrap(SVNBootstrapper.java:134) 在 net.sourceforge.cruisecontrol.Project.bootstrap(Project.java:760) 在 net.sourceforge.cruisecontrol.Project.build(Project.java:192) 在 net.sourceforge.cruisecontrol.Project.execute(Project.java:147) 在 net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:402) 在 net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69) at java.lang.Thread.run(未知来源)


通过命令行 svn 或 windows tortoise svn 客户端执行更新时不会出现此问题。 服务器通过代理访问互联网,该代理在tortoise svn的网络设置中配置。 有没有办法告诉 Cruisecontrol 使用相同的代理?

有什么想法吗?

伯特

When cruisecontrol start an svnbootstrapper an exception is logged in the cruisecontrol log file.


2009-07-07 14:29:41,942 [BuildQueueThread] INFO BuildQueue - now adding to the thread queue: trunk-edumatic-3-framework-client
2009-07-07 14:29:41,942 [Thread-25] INFO Project - Project trunk-edumatic-3-framework-client: bootstrapping
2009-07-07 14:29:41,942 [Thread-25] INFO ProjectController - trunk-edumatic-3-framework-client Controller: build progress event: bootstrapping
2009-07-07 14:30:03,615 [Thread-26] WARN SVNBootstrapper - svn: OPTIONS of 'repo-url': could not connect to server (host)
2009-07-07 14:30:03,725 [Thread-25] INFO Project - Project trunk-edumatic-3-framework-client: idle
2009-07-07 14:30:03,725 [Thread-25] INFO ProjectController - trunk-edumatic-3-framework-client Controller: build progress event: idle
2009-07-07 14:30:03,725 [Thread-25] ERROR Project - exception attempting build in project trunk-edumatic-3-framework-client
net.sourceforge.cruisecontrol.CruiseControlException: svn process exited with error code 1
at net.sourceforge.cruisecontrol.util.CommandExecutor.executeAndWait(CommandExecutor.java:119)
at net.sourceforge.cruisecontrol.util.Commandline.executeAndWait(Commandline.java:617)
at net.sourceforge.cruisecontrol.bootstrappers.SVNBootstrapper.bootstrap(SVNBootstrapper.java:134)
at net.sourceforge.cruisecontrol.Project.bootstrap(Project.java:760)
at net.sourceforge.cruisecontrol.Project.build(Project.java:192)
at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
at net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:402)
at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
at java.lang.Thread.run(Unknown Source)


The problem does not occur when executing an update trough the command line svn or the windows tortoise svn client.
The server accesses the Internet trough a proxy, which is configured in tortoise svn's network settings.
Is there a way to tell cruisecontrol to use that same proxy?

Any thoughts?

Bert

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

深海不蓝 2024-08-02 11:36:01

如果您在 Windows XP 计算机上运行 Cruise,则可以尝试编辑文件 C:\Documents and Settings\user.name\Application Data\Subversion\server 中的代理设置。

我不确定其他操作系统中的等效文件,但通常会查找应用程序数据和其中的 subversion 目录。 该文件夹是在您第一次运行 Subversion 客户端时创建的,因此它应该已经存在于您的 Cruise 计算机中。

If you are running cruise on a windows XP machine, you can try editing the proxy settings in the file C:\Documents and Settings\user.name\Application Data\Subversion\server.

I am not sure about the equivalent files in the other operating systesm though, but in general look for application data and the subversion directory within. This folder gets created the first time you ran subversion client so it should be there in your cruise machine already.

晚风撩人 2024-08-02 11:36:01

我看不到为 svn 命令提供“代理”参数的任何可能性。 既不在 SVN 引导程序源 也不在 配置中参考

但是...

您始终可以:

  • 将其作为 对 CruiseControl 的请求提交
  • 和/或...尝试通过准备另一个版本的cvs可执行文件来欺骗CruiseControl。 也许是一个名为 cvs.bat 的批处理文件,它会简单地调用带有指定代理的附加参数的 cvs 可执行文件。 我没试过。

I don't see any possibility for providing 'proxy' argument to svn command. Neither in the SVN bootstrapper source nor in the config ref.

But...

You could always:

  • file it as a request to CruiseControl,
  • and/or... try to fool the CruiseControl by preparing another version of cvs executable. Maybe a batch file called cvs.bat that would simply call cvs executable with additional parameters specifying the proxy. I haven't tried that.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文