[% WRAPPER layout.tt title="Logfile" %]
[% PROCESS common.tt %]

<h1>Build log of [% INCLUDE renderFullJobNameOfBuild %] build <a href="[% c.uri_for('/build' build.id) %]">[% build.id %]</a>[%IF step %] step [% step.stepnr %][% END %]</h1>

<p>
  This is the build log of path <tt>[% IF step; step.outpath; ELSE; build.outpath; END %]</tt>.
  [% IF step && step.machine %]
    It was built on <tt>[% step.machine %]</tt>.
  [% END %]
</p>

<div class="buildlog">
[% logtext -%]
</div>

[% END %]