哈德逊的问题

发布于 2024-10-05 19:48:30 字数 157 浏览 1 评论 0原文

我在 6 个项目中使用 Hudson,其中大多数都配置为持续集成。 我遇到一个持续集成无法正常工作的问题; 当有人在 perforce 中签入代码时,它不会触发构建。我重新启动了两次,效果很好,但我又遇到了同样的问题。

请任何人帮助我们
谢谢

I am using Hudson for 6 projects, and most all of them are configured as a continious integration. I have a problem with one of the continious integration is not working;
when somebody checks in the code in the perforce, it's not triggering the build. I restarted it twice and its works good but again I have the same problem.

Please can any one help us
Thanks

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

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

发布评论

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

评论(1

可是我不能没有你 2024-10-12 19:48:30

检查相关作业的强制轮询日志,看看它是否有问题。您可以通过职位页面左侧的链接访问它。

使用此插件处理轮询时的常见陷阱包括:

  • 在作业配置中指定的“perforce 可执行文件的路径”不正确。
  • 工作空间规范不正确,因此找不到文件,因此也没有发现任何更改。
  • 在作业之间共享客户工作空间。简而言之:不要这样做。
  • 使用按需从属设备。该插件需要访问用于构建项目的节点才能获取轮询信息。如果没有可用节点,轮询将无法正常工作。
  • 错误使用“View Mask”选项可能会导致轮询完全停止工作。如果您不确定如何正确使用此选项,那么您可能不需要使用它。
  • 有一个与堵塞/泄漏管道相关的已知问题 (HUDSON-2062)某些操作系统(似乎仅限于 CentOS/RedHat)。如果重新启动后可以工作,但几小时或几天后停止工作,那么这可能是您的问题。

您可能想直接联系插件的开发人员,他们的联系信息位于 Sagar 在他的评论中提供的链接上:http://wiki.hudson-ci.org/display/HUDSON/Perforce+Plugin,或提交问题 这里。无论哪种情况,请记住包含您的 Perforce 插件和 Hudson 版本号。

Check your perforce polling log for the job in question to see if it's having some trouble. You can get to it through the link on the left hand side of the job page.

Common pitfalls when dealing with polling with this plugin include:

  • Incorrect "Path to perforce executable" specified in the job config.
  • Workspace spec is incorrect, so no files, and thus no changes, are found.
  • Sharing client workspaces between jobs. In short: don't do it.
  • The use of on-demand slaves. The plugin needs access to a node that is used to build the project in order to get polling information. If no nodes are available, polling doesn't work correctly.
  • The incorrect use of the "View Mask" option can cause polling to stop working entirely. If you aren't sure how to use this option correctly, then you probably don't need to use it.
  • There is a known issue (HUDSON-2062) related to clogging/leaked pipes on certain operating systems (it seems restricted to CentOS/RedHat). If it works after a restart, but stops working after a few hours or days, then this is likely your problem.

You may want to contact the developer of the plugin directly, their contact info is on the link Sagar provided in his comment: http://wiki.hudson-ci.org/display/HUDSON/Perforce+Plugin, or file an issue here. Remember to include your Perforce Plugin and Hudson version numbers in either case.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文