{% macro build_line(b, include_builder=False) %} ({{ b.time }}) Rev: {% if b.multiple_revs -%} multiple rev {%- else -%} {{ b.rev_list[0]['rev']|shortrev(b.rev_list[0]['repo']) }} {%- endif %} {{ b.results }} {% if include_builder %} {{ b.builder_name }} {% endif %} #{{ b.buildnum }} - {{ b.text|capitalize }} {% endmacro %} {% macro build_tr(b, include_builder=False, loop=None) %} {{ b.time }} {%- for rev in b.rev_list -%} {%- if not loop.first %}
{% endif -%} {%- if rev.get('codebase', '') %}{{ rev['codebase'] }}: {% endif -%} {{ rev['rev']|shortrev(rev['repo']) }} {%- endfor -%} {{ b.results }} {%- if include_builder %} {{ b.builder_name }} {% endif %} #{{ b.buildnum }} {{ b.reason|e }} {%- for user in (b.interested_users or []) -%} {%- if not loop.first %}, {% endif -%} {{ user|e }} {%- endfor -%} {{ b.text|capitalize }} {% endmacro %} {% macro build_table(builds, include_builder=False) %} {% if builds %} {%- if include_builder %} {% endif %} {% for b in builds %} {{ build_tr(b, include_builder, loop) }} {% endfor %}
Time Revision ResultBuilderBuild # Reason Info
{% else %} No matching builds found {% endif %} {% endmacro %}