瀏覽代碼

option to add force schedulers

covid-videoplattform
父節點
當前提交
046f92fbac
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. +7
    -0
      templates/buildbot/master.cfg.j2

+ 7
- 0
templates/buildbot/master.cfg.j2 查看文件

@@ -118,4 +118,11 @@ c['schedulers'].append(schedulers.SingleBranchScheduler(
treeStableTimer=5,
builderNames=['{{builder_name}}']))

{% if builder.force_scheduler | default(false) %}
c['schedulers'].append(schedulers.ForceScheduler(
name="force-{{builder_name}}",
builderNames=["hello-world"],
))
{% endif %}

{% endfor %}

Loading…
取消
儲存