Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: masters/master.tryserver.chromium.linux/templates/build.html

Issue 1812163002: Add log and link aliasing to BuildBot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Unused variable. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: masters/master.tryserver.chromium.linux/templates/build.html
diff --git a/masters/master.tryserver.chromium.linux/templates/build.html b/masters/master.tryserver.chromium.linux/templates/build.html
index db5001f14c523d1a4b57822fee0168270d9a55bb..e26a5ccaa3149e0a7b496108f0a438328b6a1f57 100644
--- a/masters/master.tryserver.chromium.linux/templates/build.html
+++ b/masters/master.tryserver.chromium.linux/templates/build.html
@@ -145,19 +145,33 @@ Build #{{ b.getNumber() }}
<ul>
{% set item_class = cycler('alt', '') %}
{% for l in s.logs %}
- <li class="{{ item_class.next() }}"><a href="{{ l.link }}">{{ l.name }}</a>
+ <li class="{{ item_class.next() }}">
+ <a href="{{ l.link }}">{{ l.name }}</a>
<a href="https://storage.cloud.google.com/chrome-build-logs-private/logs/{{
b.getProperty('mastername') }}/{{ b.getBuilder().getName()
}}/{{ '%.7d' % b.getNumber() }}/{{ s.name|replace('/', '_') }}.{{
l.name|replace('/', '_') }}"
title="Raw log stored on Google Cloud Storage (available after up to 5 min after end of build)">cache</a>
-</li>
+
+ {% if s.aliases %}
+ {% for a in s.aliases.get(l.name, ()) %}
+ <a href="{{ a.url }}">[{{ a.text }}]</a>
+ {% endfor %}
+ {% endif %}
+ </li>
{% else %}
<li class="{{ item_class.next() }}">- no logs -</li>
{% endfor %}
{% for u in s.urls %}
- <li class="{{ item_class.next() }}"><a href="{{ u.url }}">{{ u.logname }}</a></li>
+ <li class="{{ item_class.next() }}">
+ <a href="{{ u.url }}">{{ u.logname }}</a>
+ {% if s.aliases %}
+ {% for a in s.aliases.get(u.logname, ()) %}
+ <a href="{{ a.url }}">[{{ a.text }}]</a>
+ {% endfor %}
+ {% endif %}
+ </li>
{% endfor %}
</ul>
</li>
« no previous file with comments | « masters/master.tryserver.blink/templates/build.html ('k') | masters/master.tryserver.chromium.perf/templates/build.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698