From ae52fc7f61942f5628ec9800d1fe8cdfe27a3894 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 2 Jul 2015 00:18:33 +0200 Subject: [PATCH] Remove display of queue runner log file (it no longer exists) --- src/lib/Hydra/Controller/Build.pm | 4 ---- src/root/build.tt | 5 ----- 2 files changed, 9 deletions(-) diff --git a/src/lib/Hydra/Controller/Build.pm b/src/lib/Hydra/Controller/Build.pm index 4080817a..126f534b 100644 --- a/src/lib/Hydra/Controller/Build.pm +++ b/src/lib/Hydra/Controller/Build.pm @@ -67,10 +67,6 @@ sub build_GET { $c->stash->{available} = all { isValidPath($_->path) } $build->buildoutputs->all; $c->stash->{drvAvailable} = isValidPath $build->drvpath; - if (!$build->finished && $build->busy) { - $c->stash->{logtext} = decode("utf-8", read_file($build->logfile, err_mode => 'quiet') // ""); - } - if ($build->finished && $build->iscachedbuild) { my $path = ($build->buildoutputs)[0]->path or die; my $cachedBuildStep = findBuildStepByOutPath($self, $c, $path); diff --git a/src/root/build.tt b/src/root/build.tt index 5ab62a9a..160fca7e 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -280,11 +280,6 @@ [% END %] - [% IF logtext %] -

Log

-
[% HTML.escape(logtext) %]
- [% END %] - [% IF isAggregate %]