当特定文件夹更改时
多年来,我一直使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论