Skip to content

Commit 445c05e

Browse files
committed
link to build log in distros list in tstk
1 parent d0f1657 commit 445c05e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/views/tasks/_task_show.html.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
<i class="bi bi-exclamation-triangle-fill text-danger"></i>
3030
<% end %>
3131
<%= d.name %>
32+
<% if task.progress.failed.include?(d.id) %>
33+
<%= link_to 'log', rails_blob_path(task.artefacts.failed.where(distro: d.id).find { _1.filename.end_with?('.log') }&.attachment&.blob) %>
34+
<% end %>
3235
<br />
3336
<% end %>
3437
</div>

0 commit comments

Comments
 (0)