From 14e5b273242c5ce46595f5d85c5eeff811864636 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Mon, 29 Sep 2014 15:37:29 +0100 Subject: bitbake: toastergui: Show failed tasks in the build dashboard The build dashboard is supposed to show failed tasks (if any) in the "Tasks" section. (Bitbake rev: fc2a7be3982ea5441beef1b7e9e187caf5df2beb) Signed-off-by: Belen Barros Pena Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- .../toaster/toastergui/templates/builddashboard.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates') diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index a1481e3..8a6709c 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html @@ -144,6 +144,20 @@

Tasks

+ {% query build.task_build outcome=4 order__gt=0 as exectask%} + {% if exectask.count > 0 %} +
Failed tasks +
+ {% if exectask.count == 1 %} + + {{exectask.0.recipe.name}} + {{exectask.0.task_name}} + + {% elif exectask.count > 1%} + {{exectask.count}} + {% endif %} +
+ {% endif %}
Total number of tasks
{% query build.task_build order__gt=0 as alltasks %}{{alltasks.count}}
Tasks executed @@ -153,12 +167,12 @@
Tasks not executed -
+
{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}
Reuse -
+
{% query build.task_build order__gt=0 as texec %} {% if noexectask.count|multiply:100|divide:texec.count < 0 %} -- cgit v1.1