forked from lix-project/hydra
Don't repeat links to build step logs
Hydra only stores the last log for a particular derivation, so only show log links for the last one.
This commit is contained in:
parent
2ece42b2b9
commit
7e6135a8c6
|
@ -18,9 +18,10 @@
|
|||
<tr><th>Nr</th><th>What</th><th>Duration</th><th>Machine</th><th>Status</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOREACH step IN build.buildsteps %]
|
||||
[% FOREACH step IN build.buildsteps.reverse %]
|
||||
[% IF ( type == "All" ) || ( type == "Failed" && step.status != 0 ) || ( type == "Running" && step.busy == 1 ) %]
|
||||
[% has_log = buildStepLogExists(step);
|
||||
[% has_log = seen.${step.drvpath} ? 0 : buildStepLogExists(step);
|
||||
seen.${step.drvpath} = 1;
|
||||
log = c.uri_for('/build' build.id 'nixlog' step.stepnr); %]
|
||||
<tr>
|
||||
<td>[% step.stepnr %]</td>
|
||||
|
|
Loading…
Reference in a new issue