Record which build a failed build step was propagated from

This commit is contained in:
Eelco Dolstra
2015-02-25 16:42:32 +01:00
parent 48af914e28
commit adc72d2409
6 changed files with 46 additions and 7 deletions

View File

@ -56,6 +56,7 @@
<span class="error">Failed: [% HTML.escape(step.errormsg) %]</span>
[% END %]
[%%] [%+ IF has_log; INCLUDE renderLogLinks url=log inRow=1; END %]
[%+ IF step.propagatedfrom; %](propagated from [% INCLUDE renderBuildIdLink id=step.propagatedfrom.get_column('id') %])[% END %]
</td>
</tr>
[% END %]

View File

@ -168,11 +168,14 @@ BLOCK renderFullBuildLink;
END;
BLOCK renderBuildLink; %]
<a href="[% c.uri_for('/build' build.id) %]">build [% build.id %]</a>
BLOCK renderBuildIdLink; %]
<a href="[% c.uri_for('/build' id) %]">build [% id %]</a>
[% END;
BLOCK renderBuildLink; INCLUDE renderBuildIdLink id=build.id; END;
BLOCK renderBuildStatusIcon;
finished = build != undef ? build.finished : 1;
busy = busy != undef ? busy : build.busy;