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 %]