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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 {% extends "layout.html" %} 1 {% extends "layout.html" %}
2 {% import 'forms.html' as forms %} 2 {% import 'forms.html' as forms %}
3 {% from "change_macros.html" import change with context %} 3 {% from "change_macros.html" import change with context %}
4 4
5 {% block content %} 5 {% block content %}
6 6
7 <h1> 7 <h1>
8 Builder <a href="{{ path_to_builder }}">{{ b.getBuilder().getName() }}</a> 8 Builder <a href="{{ path_to_builder }}">{{ b.getBuilder().getName() }}</a>
9 Build #{{ b.getNumber() }} 9 Build #{{ b.getNumber() }}
10 </h1> 10 </h1>
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 <div class="{{ s.css_class }} result"> 139 <div class="{{ s.css_class }} result">
140 <a href="{{ s.link }}">{{ s.name }}</a> 140 <a href="{{ s.link }}">{{ s.name }}</a>
141 {% set previous_name = s.name %} 141 {% set previous_name = s.name %}
142 {{ s.text }}&nbsp;<span style="float:right">{{ '( ' + s.time_to_run + ' )' if s.time_to_run else '' }}</span> 142 {{ s.text }}&nbsp;<span style="float:right">{{ '( ' + s.time_to_run + ' )' if s.time_to_run else '' }}</span>
143 </div> 143 </div>
144 144
145 <ul> 145 <ul>
146 {% set item_class = cycler('alt', '') %} 146 {% set item_class = cycler('alt', '') %}
147 {% for l in s.logs %} 147 {% for l in s.logs %}
148 <li class="{{ item_class.next() }}"><a href="{{ l.link }}">{{ l.name }}< /a> 148 <li class="{{ item_class.next() }}">
149 <a href="{{ l.link }}">{{ l.name }}</a>
149 <a href="https://storage.cloud.google.com/chrome-build-logs-private/lo gs/{{ 150 <a href="https://storage.cloud.google.com/chrome-build-logs-private/lo gs/{{
150 b.getProperty('mastername') }}/{{ b.getBuilder().getName() 151 b.getProperty('mastername') }}/{{ b.getBuilder().getName()
151 }}/{{ '%.7d' % b.getNumber() }}/{{ s.name|replace('/', '_') } }.{{ 152 }}/{{ '%.7d' % b.getNumber() }}/{{ s.name|replace('/', '_') } }.{{
152 l.name|replace('/', '_') }}" 153 l.name|replace('/', '_') }}"
153 title="Raw log stored on Google Cloud Storage (available after up t o 5 min after end of build)">cache</a> 154 title="Raw log stored on Google Cloud Storage (available after up t o 5 min after end of build)">cache</a>
154 </li> 155
156 {% if s.aliases %}
157 {% for a in s.aliases.get(l.name, ()) %}
158 <a href="{{ a.url }}">[{{ a.text }}]</a>
159 {% endfor %}
160 {% endif %}
161 </li>
155 {% else %} 162 {% else %}
156 <li class="{{ item_class.next() }}">- no logs -</li> 163 <li class="{{ item_class.next() }}">- no logs -</li>
157 {% endfor %} 164 {% endfor %}
158 165
159 {% for u in s.urls %} 166 {% for u in s.urls %}
160 <li class="{{ item_class.next() }}"><a href="{{ u.url }}">{{ u.logname } }</a></li> 167 <li class="{{ item_class.next() }}">
168 <a href="{{ u.url }}">{{ u.logname }}</a>
169 {% if s.aliases %}
170 {% for a in s.aliases.get(u.logname, ()) %}
171 <a href="{{ a.url }}">[{{ a.text }}]</a>
172 {% endfor %}
173 {% endif %}
174 </li>
161 {% endfor %} 175 {% endfor %}
162 </ul> 176 </ul>
163 </li> 177 </li>
164 {% endfor %} 178 {% endfor %}
165 179
166 {# Close out all open indentation sections. #} 180 {# Close out all open indentation sections. #}
167 {% for _ in range(-1, nest_level) %} 181 {% for _ in range(-1, nest_level) %}
168 </li></ol> 182 </li></ol>
169 {% endfor %} 183 {% endfor %}
170 184
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 {{ change(c.asDict()) }} 259 {{ change(c.asDict()) }}
246 </li> 260 </li>
247 {% else %} 261 {% else %}
248 <li>no changes</li> 262 <li>no changes</li>
249 {% endfor %} 263 {% endfor %}
250 </ol> 264 </ol>
251 </div> 265 </div>
252 {% endif %} 266 {% endif %}
253 267
254 {% endblock %} 268 {% endblock %}
OLDNEW
« 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