与 ClearCase 和长期更新快照视图的持续集成

发布于 2024-08-28 03:14:21 字数 283 浏览 7 评论 0原文

我需要建立一个持续集成系统。由于平台限制,我们使用 ClearCase 版本控制,并且仅使用快照视图。我尝试过设置 Hudson 和 Luntbuild。他们都表现出相同的行为。从某种意义上说,我们有很多用于构建的库,但它们是严格只读的。 CI 系统执行cleartool lshistory 并发现VCS 中的更改。之后,它执行cleartool setcs,这会导致视图更新。这可能需要大约半个小时,这对于 CI 来说是非常不可取的。为什么它不只更新先前由cleartool lshistory 获取的已更改元素?有没有 CI 系统可以做到这一点?

I need to set up a continuous integration system. We use ClearCase version control and only snapshot views due to platform restrictions. I have tried setting up Hudson and Luntbuild. They both show the same behaviour. In a view, we have lots of libraries that are used for build but are strictly read-only. The CI system executes cleartool lshistory and finds a change in the VCS. After that, it executes cleartool setcs, which causes update of the view. This can take about half an hour, which is very undesirable for CI. Why wouldn't it update only the changed elements, which were previously obtained by cleartool lshistory? Is there a CI system that can do this?

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

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

发布评论

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

评论(2

泅人 2024-09-04 03:14:21

更新包含大量元素的快照视图可能需要时间。

这就是为什么我们在 Hudson CI 中使用多个视图。

  • 一个具有最小元素量的视图,该视图由 Hudson 监控,并在检测到 VCS 更改时进行更新。
  • 一个具有不经常更改的常见内容(如果更改,我们将手动取消 Hudson 作业)

其他解决方案是,特别是对于第一个视图,使用动态视图(并跳过更新加载时间)

The update of a snapshot view with a lots of elements can takes time.

That is why we are using several view in our Hudson CI.

  • One with the minimum amount of elements, view which is monitored by Hudson and updated if a VCS change is detected.
  • One with the common stuff which does not change that often (if it changes, we will declenche the Hudson Job manually)

Other solution is, especially for the first view, to use a dynamic view (and skip the update loading times)

请帮我爱他 2024-09-04 03:14:21

Yulia,

您可以查看我们的 Parabuild -它可能更适合你。如果没有,我们将很乐意与您合作解决任何性能问题。

Yulia,

You may check out our Parabuild - it may work better for you. If not, we will be happy to work with you to resolve any performance issues.

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