瀏覽代碼

indentation

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

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

@@ -58,9 +58,12 @@ factory.addStep(steps.Git(repourl='git://github.com/buildbot/hello-world.git', m
factory.addStep(steps.ShellCommand(command=["trial", "hello"], env={"PYTHONPATH": "."}))

c['builders'].append(
util.BuilderConfig(name="hello-world",
workernames=["local-worker"],
factory=factory))
util.BuilderConfig(
name="hello-world",
workernames=["local-worker"],
factory=factory
)
)

c['schedulers'].append(schedulers.ForceScheduler(
name="force-hello-world",
@@ -113,10 +116,11 @@ c['builders'].append(
)

c['schedulers'].append(schedulers.SingleBranchScheduler(
name="{{builder_name}}",
change_filter=util.ChangeFilter(branch='master'),
treeStableTimer=5,
builderNames=['{{builder_name}}']))
name="{{builder_name}}",
change_filter=util.ChangeFilter(branch='master'),
treeStableTimer=5,
builderNames=['{{builder_name}}'],
))

{% if builder.force_scheduler | default(false) %}
c['schedulers'].append(schedulers.ForceScheduler(


Loading…
取消
儲存