diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index a1481e3436..8a6709cfe1 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 %}