BuildbotsPeriodicScheduler 间隔有例外吗?

发布于 2024-09-06 10:40:00 字数 141 浏览 2 评论 0原文

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 技术交流群。

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

发布评论

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

评论(2

是伱的 2024-09-13 10:40:02

解决这个问题的一种方法当然是编写一段 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.

表情可笑 2024-09-13 10:40:01

如果您使用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.

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