Jobset page: Show last evaluation time

[?]
Feb 22, 2013, 10:37 AM
4UUKWXDFP2CBW6MJCBIOROQZXZDJPWJWDCKYTXBFKNCGVMJ32BJQC

Dependencies

  • [2] VH5ZABDR Add a page to show the latest evaluations for the entire server
  • [3] K22TMPH5 Make the info tables less compressed
  • [4] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [5] 6QRHXIM3 * Speed up the jobset index page. Especially the query to get the
  • [6] OX6NYJDV Split viewing and editing a jobset
  • [7] TFK74CQR Put job status on a separate tab
  • [8] 75XUS62Y * Added a page to quickly see all failed builds and failed evaluations
  • [9] RAKTHYAI * In the job status and error pages, show when the status of a job
  • [10] G5YSUSNZ In build tables, hide the project, jobset and/or job name if they're constant
  • [11] 3PNG7NIB Remove trailing whitespace
  • [*] 3HZY24CX * Make jobsets viewable under
  • [*] UMFB2767 Hydra/64: Leaving number of builds empty gives DBIx error
  • [*] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that

Change contents

  • edit in src/lib/Hydra/Controller/Jobset.pm at line 53
    [2.94]
    [14.4]
    ($c->stash->{latestEval}) = $c->stash->{jobset}->jobsetevals->search({}, { limit => 1, order_by => ["id desc"] });
  • replacement in src/root/errors.tt at line 28
    [3.2095][3.2095:2173]()
    <pre class="multiLineMsg error">[% HTML.escape(j.errormsg) %]</pre>
    [3.2095]
    [3.2173]
    <pre class="error">[% HTML.escape(j.errormsg) %]</pre>
  • replacement in src/root/errors.tt at line 54
    [3.2633][3.2633:2711]()
    <pre class="multiLineMsg error">[% HTML.escape(j.errormsg) %]</pre>
    [3.2633]
    [3.2711]
    <pre class="error">[% HTML.escape(j.errormsg) %]</pre>
  • replacement in src/root/jobset.tt at line 62
    [3.395][3.395:579]()
    [% INCLUDE renderDateTime timestamp = jobset.lastcheckedtime %][% IF jobset.errormsg %]<em>, with evaluation errors!</em>[% ELSE %], <em>no evaluation errors</em>[% END %]
    [3.395]
    [3.579]
    [% INCLUDE renderDateTime timestamp = jobset.lastcheckedtime %][% IF jobset.errormsg %]<em>, with
    evaluation errors!</em>[% ELSE %], <em>no evaluation errors</em>[% END %]
    [% ELSE %]
    <em>never</em>
    [% END %]
    </td>
    </tr>
    <tr>
    <th>Last evaluation:</th>
    <td>
    [% IF latestEval %]
    [% INCLUDE renderDateTime timestamp = latestEval.timestamp %]
  • replacement in src/root/jobset.tt at line 125
    [3.8557][3.8557:8783]()
    <h2>Evaluation errors</h2>
    <p>
    Errors occurred at <tt>[% INCLUDE renderDateTime timestamp=jobset.errortime %]</tt>.
    </p>
    <pre class="multiLineMsg error">[% HTML.escape(jobset.errormsg) %]</pre>
    [3.8557]
    [3.8783]
    <p>Errors occurred at [% INCLUDE renderDateTime timestamp=jobset.errortime %].</p>
    <pre class="alert alert-error">[% HTML.escape(jobset.errormsg) %]</pre>