Sfoglia il codice sorgente

indentation

covid-videoplattform
parent
commit
ec6eff30c7
1 ha cambiato i file con 11 aggiunte e 7 eliminazioni
  1. +11
    -7
      templates/buildbot/master.cfg.j2

+ 11
- 7
templates/buildbot/master.cfg.j2 Vedi File

@@ -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…
Annulla
Salva