From 64d617a6b21d90f56b73f36fc0ebae0bcac0fe2a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 3 Oct 2013 14:56:07 +0200 Subject: [PATCH] Remove already disabled jobstatus code --- src/lib/Hydra/Base/Controller/ListBuilds.pm | 7 ------- src/root/jobstatus.tt | 15 --------------- 2 files changed, 22 deletions(-) delete mode 100644 src/root/jobstatus.tt diff --git a/src/lib/Hydra/Base/Controller/ListBuilds.pm b/src/lib/Hydra/Base/Controller/ListBuilds.pm index cbdc9be0..a852fbe3 100644 --- a/src/lib/Hydra/Base/Controller/ListBuilds.pm +++ b/src/lib/Hydra/Base/Controller/ListBuilds.pm @@ -23,13 +23,6 @@ sub getJobStatus { } -#sub jobstatus : Chained('get_builds') PathPart Args(0) { -# my ($self, $c) = @_; -# $c->stash->{template} = 'jobstatus.tt'; -# $c->stash->{latestBuilds} = [getJobStatus($self, $c)->all]; -#} - - # A convenient way to see all the errors - i.e. things demanding # attention - at a glance. sub errors : Chained('get_builds') PathPart Args(0) { diff --git a/src/root/jobstatus.tt b/src/root/jobstatus.tt deleted file mode 100644 index 333854a2..00000000 --- a/src/root/jobstatus.tt +++ /dev/null @@ -1,15 +0,0 @@ -[% WRAPPER layout.tt title="Job status" _ - (job ? " of job $project.name:$jobset.name:$job.name" : - jobset ? " of jobset $project.name:$jobset.name" : - project ? " of project $project.name" : "") %] -[% PROCESS common.tt %] - -

Below are the latest builds for each job. It is ordered by the status -change time (the timestamp of the last build that had a different -build result status). That is, it shows the jobs that most recently -changed from failed to successful or vice versa first.

- -[% INCLUDE renderBuildList builds=latestBuilds showStatusChange=1 - hideProjectName=project hideJobsetName=jobset hideJobName=job %] - -[% END %]