From 66eb4d851e63d20031502ec0c96aaabe34c6fd32 Mon Sep 17 00:00:00 2001 From: maxbr Date: Fri, 19 Aug 2016 17:11:58 +0200 Subject: Implement periodic tasks JIRA: RELENG-12 The dashboard is now querying jenkins periodically and saving the results in the database. This fixes delays that were caused by calling the jenkins API. Signed-off-by: maxbr --- .../templates/dashboard/ci_pods.html | 26 ++++++++++++---------- 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'tools/pharos-dashboard/templates/dashboard/ci_pods.html') diff --git a/tools/pharos-dashboard/templates/dashboard/ci_pods.html b/tools/pharos-dashboard/templates/dashboard/ci_pods.html index d3e5ff62..2982a6ff 100644 --- a/tools/pharos-dashboard/templates/dashboard/ci_pods.html +++ b/tools/pharos-dashboard/templates/dashboard/ci_pods.html @@ -1,5 +1,6 @@ {% extends "dashboard/table.html" %} {% load staticfiles %} +{% load jenkins_filters %} {% block table %} @@ -20,23 +21,24 @@ {{ pod.name }} - {{ pod.slavename }} + {{ pod.slave.name }} - - {{ pod.status }} + + {{ pod.slave.status }} - - {{ pod.last_job.installer }} + + {{ pod.slave.last_job_installer }} - - {{ pod.last_job.scenario }} + + {{ pod.slave.last_job_scenario }} - - {{ pod.last_job.branch }} + + {{ pod.slave.last_job_branch }} - {{ pod.last_job.name }} + {{ pod.slave.last_job_name }} {% endfor %}` -- cgit 1.2.3-korg