BuildbotsPeriodicScheduler 间隔有例外吗?
Buildbots 定期调度程序以固定间隔(例如每 30 分钟)触发构建。但在某些时候(例如晚上、周末或进行定期维护时)我希望它能放松一下。
有没有办法对周期性调度程序有更细粒度的描述?或者我应该使用每晚调度程序并明确列出我整周所需的所有构建触发时间?
Buildbots Periodic scheduler triggers builds at fixed intervals (e.g. every 30 minutes). But there are certain times (e.g. at night, during the weekend or while regular maintenance is performed) where I'd like it to relax.
Is there a way to have a more fine-grained description for the Periodic scheduler? Or should I rather use the Nightly scheduler and explicitly list all build trigger times I need for the whole week?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
解决这个问题的一种方法当然是编写一段 python 代码,根据一些规则生成夜间调度程序的构建时间。
One way to solve this would of course be to write a piece of python code that generates the build times for up the nightly scheduler according to some rules.
如果您使用
Nightly
,那么您可以指定调度程序仅在有需要构建的有趣更改时触发。据推测,您在此期间也不会进行提交,因此它不会触发构建。If you use
Nightly
, then you can specify that the scheduler only trigger if there are interesting changes to build. Presumably, you won't have commits during that period either, so it will not trigger builds then.