From 046f92fbac6fa631b9e4abd9ef22b7d1949f3cdc Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Fri, 8 May 2020 17:01:26 +0200 Subject: [PATCH] option to add force schedulers --- templates/buildbot/master.cfg.j2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/buildbot/master.cfg.j2 b/templates/buildbot/master.cfg.j2 index 4b38d94..9ea130f 100644 --- a/templates/buildbot/master.cfg.j2 +++ b/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 %}