Handle active build steps of aborted builds properly

This commit is contained in:
Eelco Dolstra
2013-01-22 23:01:29 +01:00
parent 30e5185acf
commit ecdbce1a61
3 changed files with 6 additions and 10 deletions

View File

@ -41,13 +41,11 @@
<td>[% step.machine.split('@').1 %]</td>
<td>
[% IF step.busy == 1 %]
[% IF build.finished %]
<span class="error">Aborted</span>
[% ELSE %]
<strong>Building</strong>
[% END %]
<strong>Building</strong>
[% ELSIF step.status == 0 %]
Succeeded
[% ELSIF step.status == 4 %]
<span class="error">Aborted</span>
[% ELSE %]
<span class="error">Failed: [% HTML.escape(step.errormsg) %]</span>
[% END %]
@ -163,7 +161,7 @@
[% END %]
[% IF !build.finished %]
[% IF build.busy %]
<h3>Running build steps</h3>
[% INCLUDE renderBuildSteps type="Running" %]
[% END %]