|
@@ -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": "."})) |
|
|
factory.addStep(steps.ShellCommand(command=["trial", "hello"], env={"PYTHONPATH": "."})) |
|
|
|
|
|
|
|
|
c['builders'].append( |
|
|
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( |
|
|
c['schedulers'].append(schedulers.ForceScheduler( |
|
|
name="force-hello-world", |
|
|
name="force-hello-world", |
|
@@ -113,10 +116,11 @@ c['builders'].append( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
c['schedulers'].append(schedulers.SingleBranchScheduler( |
|
|
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) %} |
|
|
{% if builder.force_scheduler | default(false) %} |
|
|
c['schedulers'].append(schedulers.ForceScheduler( |
|
|
c['schedulers'].append(schedulers.ForceScheduler( |
|
|