* Store info about all the build actions and allow them to be
monitored while the build is in progress.
This commit is contained in:
@ -33,10 +33,10 @@
|
||||
<strong>Success</strong>
|
||||
[% ELSIF build.resultInfo.buildstatus == 1 %]
|
||||
<img src="/static/images/failure.gif" />
|
||||
<strong>Build returned a non-zero exit code</strong>
|
||||
<strong class="error-msg">Build returned a non-zero exit code</strong>
|
||||
[% ELSE %]
|
||||
<img src="/static/images/failure.gif" />
|
||||
<strong>Build failed</strong>
|
||||
<strong class="error-msg">Build failed</strong>
|
||||
[% END %]
|
||||
[% ELSIF build.schedulingInfo.busy %]
|
||||
<strong>Build in progress</strong>
|
||||
@ -134,6 +134,39 @@
|
||||
</table>
|
||||
|
||||
|
||||
[% IF build.buildsteps %]
|
||||
|
||||
<h2>Build steps</h2>
|
||||
|
||||
<table class="tablesorter">
|
||||
<thead>
|
||||
<tr><th>Nr</th><th>What</th><th>Status</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOREACH step IN build.buildsteps -%]
|
||||
<tr>
|
||||
<td>[% step.stepnr %]</td>
|
||||
<td>
|
||||
Build of <tt>[% step.outpath %]</tt>
|
||||
</td>
|
||||
<td>
|
||||
[% IF step.busy == 1 %]
|
||||
<strong>Building</strong>
|
||||
[% ELSIF step.status == 0 %]
|
||||
Succeeded
|
||||
[% ELSE %]
|
||||
<strong class="error-msg">Failed: [% step.errormsg %]</strong>
|
||||
[% END %]
|
||||
(<a href="[% c.uri_for('/nixlog' build.id step.stepnr) %]">log</a>)
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
[% END %]
|
||||
|
||||
|
||||
[% IF build.finished %]
|
||||
|
||||
|
||||
|
@ -143,7 +143,7 @@ td.buildfarmMainColumn {
|
||||
border: solid;
|
||||
}
|
||||
|
||||
span.error-msg {
|
||||
.error-msg {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[% WRAPPER layout.tt title="Hydra Overview" %]
|
||||
|
||||
<h1>Build log <tt>[% log.logphase %] of build ID [% id %]</h1>
|
||||
<h1>Build log [% IF step %] of step [% step.stepnr %] [% ELSE %]<tt>[% log.logphase %]</tt>[% END %] of build ID [% id %]</h1>
|
||||
|
||||
<!-- !!! escaping -->
|
||||
<pre class="buildlog">
|
||||
|
Reference in New Issue
Block a user