diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/builddashboard.html | 18 |
1 files changed, 16 insertions, 2 deletions
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 @@ | |||
144 | <div class="well span4 dashboard-section"> | 144 | <div class="well span4 dashboard-section"> |
145 | <h4><a href="{%url 'tasks' build.pk%}">Tasks</a></h4> | 145 | <h4><a href="{%url 'tasks' build.pk%}">Tasks</a></h4> |
146 | <dl> | 146 | <dl> |
147 | {% query build.task_build outcome=4 order__gt=0 as exectask%} | ||
148 | {% if exectask.count > 0 %} | ||
149 | <dt>Failed tasks</td> | ||
150 | <dd> | ||
151 | {% if exectask.count == 1 %} | ||
152 | <a class="error" href="{% url "task" build.id exectask.0.id %}"> | ||
153 | {{exectask.0.recipe.name}} | ||
154 | <span class="task-name">{{exectask.0.task_name}}</span> | ||
155 | </a> | ||
156 | {% elif exectask.count > 1%} | ||
157 | <a class="error" href="{% url "tasks" build.id %}?filter=outcome%3A4">{{exectask.count}}</a> | ||
158 | {% endif %} | ||
159 | </dd> | ||
160 | {% endif %} | ||
147 | <dt>Total number of tasks</dt><dd><a href="{% url 'tasks' build.pk %}">{% query build.task_build order__gt=0 as alltasks %}{{alltasks.count}}</a></dd> | 161 | <dt>Total number of tasks</dt><dd><a href="{% url 'tasks' build.pk %}">{% query build.task_build order__gt=0 as alltasks %}{{alltasks.count}}</a></dd> |
148 | <dt> | 162 | <dt> |
149 | Tasks executed | 163 | Tasks executed |
@@ -153,12 +167,12 @@ | |||
153 | <dt> | 167 | <dt> |
154 | Tasks not executed | 168 | Tasks not executed |
155 | <i class="icon-question-sign get-help" title="'Not executed' tasks don't need to run because their outcome is provided by another task"></i> | 169 | <i class="icon-question-sign get-help" title="'Not executed' tasks don't need to run because their outcome is provided by another task"></i> |
156 | </dt> | 170 | </dt> |
157 | <dd><a href="{% url 'tasks' build.pk %}?filter=task_executed%3A0&count=25&search=&page=1&orderby=order%3A%2B">{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}</a></dd> | 171 | <dd><a href="{% url 'tasks' build.pk %}?filter=task_executed%3A0&count=25&search=&page=1&orderby=order%3A%2B">{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}</a></dd> |
158 | <dt> | 172 | <dt> |
159 | Reuse | 173 | Reuse |
160 | <i class="icon-question-sign get-help" title="The percentage of 'not executed' tasks over the total number of tasks, which is a measure of the efficiency of your build"></i> | 174 | <i class="icon-question-sign get-help" title="The percentage of 'not executed' tasks over the total number of tasks, which is a measure of the efficiency of your build"></i> |
161 | </dt> | 175 | </dt> |
162 | <dd> | 176 | <dd> |
163 | {% query build.task_build order__gt=0 as texec %} | 177 | {% query build.task_build order__gt=0 as texec %} |
164 | {% if noexectask.count|multiply:100|divide:texec.count < 0 %} | 178 | {% if noexectask.count|multiply:100|divide:texec.count < 0 %} |