From 2dc9b9e32a70cf08773ec4200df25e61c49a16c5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 11 Sep 2015 14:12:07 +0200 Subject: [PATCH] Don't show "localhost" as machine for cached failed build steps --- src/root/build.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root/build.tt b/src/root/build.tt index ec1fe10a..44fe8456 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -45,7 +45,7 @@ INCLUDE renderDuration duration = curTime - step.starttime; END %] - [% IF step.busy == 1 || step.status == 0 || step.status == 1 || step.status == 4 || step.status == 7; INCLUDE renderMachineName machine=step.machine; ELSE; "n/a"; END %] + [% IF step.busy == 1 || ((step.machine || step.starttime) && (step.status == 0 || step.status == 1 || step.status == 4 || step.status == 7)); INCLUDE renderMachineName machine=step.machine; ELSE; "n/a"; END %] [% IF step.busy == 1 %] Building