当特定文件夹更改时

发布于 2025-01-29 19:37:59 字数 346 浏览 1 评论 0原文

多年来,我一直使用BuildBot v0.8.8,但认为现在该更新更现代的东西了,我的研究表明我应该使用Jenkins。 在BuildBot中,我可以轻松地在存储库中已更改的特定文件夹上过滤,但是我不知道如何在Jenkins / Bitbucket中执行相同的操作。

我已经成功地设置了Jenkins中的Bitbucket插件和Bitbucket中的Webhook,该插件将触发Jenkins在Bitbucket上有新的提交时启动构建。

但是,我仅将一个存储库用于几个组件(FW,GUI等),并具有依赖性,并希望根据文件夹更改而触发不同的构建。 我无法弄清楚应该如何做到这一点,至少没有民意调查。

关于如何解决它的建议,还是另一种方法?

I have used buildbot v0.8.8 for years, but think it is time to update to something more modern, and my research indicates that I should use Jenkins.
In buildbot I could pretty easily filter on a specific folder that has changed in the repository, but I can't figure out how to do the same in Jenkins / bitbucket.

I have successfully set up the bitbucket plugin in Jenkins and a webhook in bitbucket that will trigger Jenkins to start a build whenever there is a new commit on bitbucket.

But I use just one repository for several components (FW, GUI, etc), with dependencies, and would like to trigger different builds depending on which folder has changed.
I can't figure out how this should be done, at least not without polling bitbucket.

Any advice on how to solve it, or another way to do it?

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文