|
@@ -85,7 +85,8 @@ c['schedulers'].append(schedulers.ForceScheduler( |
|
|
{% set builder = buildbot_builders[builder_name] %} |
|
|
{% set builder = buildbot_builders[builder_name] %} |
|
|
factory = util.BuildFactory() |
|
|
factory = util.BuildFactory() |
|
|
|
|
|
|
|
|
{% for repo in builder.repos %} |
|
|
|
|
|
|
|
|
{#{% for repo in builder.repos %}#} |
|
|
|
|
|
{% set repo = builder.repo %} |
|
|
{% if repo.type | default('github') == 'github' %} |
|
|
{% if repo.type | default('github') == 'github' %} |
|
|
factory.addStep(steps.GitHub( |
|
|
factory.addStep(steps.GitHub( |
|
|
name='{{repo.name}}', |
|
|
name='{{repo.name}}', |
|
@@ -100,12 +101,11 @@ name='{{repo.name}}', |
|
|
repourl='{{repo.repourl}}', |
|
|
repourl='{{repo.repourl}}', |
|
|
mode='incremental', |
|
|
mode='incremental', |
|
|
workdir='{{repo.workdir}}', |
|
|
workdir='{{repo.workdir}}', |
|
|
branch='{{repo.branch|default('master')}}', |
|
|
|
|
|
progress=True, |
|
|
progress=True, |
|
|
logEnviron=False, |
|
|
logEnviron=False, |
|
|
)) |
|
|
)) |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endfor %} |
|
|
|
|
|
|
|
|
{#{% endfor %}#} |
|
|
|
|
|
|
|
|
{% for cmd in builder.shell_commands %} |
|
|
{% for cmd in builder.shell_commands %} |
|
|
factory.addStep(steps.ShellCommand( |
|
|
factory.addStep(steps.ShellCommand( |
|
|