使用持续集成服务器进行增量构建

发布于 2024-08-30 20:28:54 字数 215 浏览 3 评论 0原文

是否有任何持续集成服务器支持增量构建或过滤机制?例如,我想配置某种过滤(如我所说),以便将文件提交到特定文件夹不会导致完整(干净)构建触发,而只会导致增量构建。我所说的“增量构建”是指仅将提交的文件放入所需位置的过程,并且所有应用程序不需要从头开始重建。当我们需要这样的过滤并因此增量构建时,使用图像是一个很好的例子:如果只更改了图像,为什么我们需要重建整个应用程序?我们需要做的只是将图像放置到服务器上的专用位置。

Does any of the continuous integration servers support incremental builds or filtering mechanism? For example, I want to configure some kind of filtering (as I call it) so that committing file to the specific folder will not cause full (clean) build triggering, but will cause only incremental build. By 'incremental build' I mean process that will put only committed files to the required place and all application would not need to be rebuilt from scratch. Working with images is good example of the case when we need such filtering and thus incremental builds: why do we need to rebuild whole application if only images have been changed? What we need to do is just place images to the dedicated place on server.

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

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

发布评论

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

评论(4

dawn曙光 2024-09-06 20:28:54

这通常由 CI 服务器调用的构建工具(make、nmake、msbuild 等)来实现。

That is typically implemented by the build tool(s) called by the CI server (make, nmake, msbuild, etc.).

笔芯 2024-09-06 20:28:54

Hudson,诞生支持 SVN UPDATE 命令,比你需要调整你的构建脚本,执行构建而不是重建命令。

一般来说,我想说每个 CI 服务器都支持这一点,使用自定义构建脚本。

Hudson, nativity supports SVN UPDATE command, than you need to tuneup you's build scripts, to do Build instead of Rebuild command.

In general, I would say that every CI server supports this, using custom build scripts.

泪眸﹌ 2024-09-06 20:28:54

easyCIS 默认情况下会尽快构建。如果未以其他方式配置任务,它只会从 VCS 中提取已更改的文件并进行增量构建。话虽如此,即使没有自定义构建脚本,easyCIS 也支持这一点。

easyCIS makes the build ASAP by default. It does pull only the changed files from VCS and does incremental build, if tasks are not configured otherwise. That being said, easyCIS supports this even without custom build scripts.

迷爱 2024-09-06 20:28:54

它可以由 CI 服务器实现,该服务器允许自定义构建提交首选项。如果目录内容已更改,则需要指定需要完全重建的所有文件夹。

It could be implemented by the CI server which allows customizing build on commit preferences. It will require specifying all the folders which require full rebuild if directory content has been changed.

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