如何使用 Continuum 从多个分支进行构建

发布于 2024-08-20 04:02:19 字数 217 浏览 3 评论 0原文

我有一个使用 Maven 和 Continuum 构建的项目。我们有几个发布分支,其中大多数都已停用,但如果出现问题,任何一个分支都可以恢复。

我的问题是,向 Continuum 添加分支是非常重量级的;到目前为止,我发现的最好方法是将每个分支添加为单独的项目,但这涉及合理的设置量。由于我们不经常发布版本,这很好,但我希望能够针对短期功能分支运行 Continuum,并且我不想每次都手动设置所有内容。

I've got a project which is built using Maven and Continuum. We've got several release branches, most of which are in retirement but any could conceivably be resurrected if an issue comes up.

My problem is that adding branches to Continuum is very heavyweight; the best method I've found so far is to add each branch as a separate project, but that involves a reasonable amount of setup. As we don't make releases all that often, this is fine, but I'd like the ability to run Continuum against short-lived feature branches, and I don't want to have to set everything up by hand each time.

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

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

发布评论

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

评论(2

折戟 2024-08-27 04:02:19

我希望能够针对短期功能分支运行 Continuum,并且我不想每次都必须手动设置所有内容。

也许不是预期的答案,但我的建议是换成另一个 CI 工具。例如,使用 Hudson 执行您所描述的操作将非常快速且简单(创建一个新的 maven2 项目构建,填写 scm url,然后就完成了)。

I'd like the ability to run Continuum against short-lived feature branches, and I don't want to have to set everything up by hand each time.

Maybe not the expected answer but my suggestion would be to change for another CI tool. Doing what you describe would be extremely fast and easy with Hudson for example (create a new maven2 project build, fill in the scm url and you're done).

栖竹 2024-08-27 04:02:19

如果这些短暂的功能分支不是那么重要,您可以将项目的 SCM Url 更改为您想要进行持续集成的新功能分支的 SCM Url。不幸的是,Continuum 不会在每个构建的构建历史记录中跟踪 SCM Url,但它更改 SCM Url 将提供您所需的内容,而无需每次都创建新项目。

If those short-lived feature branches are not that important, you could change the SCM Url for the project to the SCM Url of the new feature branch you want to do continuous integration upon. Unfortunately, Continuum does not track the SCM Url in the build history for each build, but it changing the SCM Url would provide what you need without creating a new project each time.

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