OLD | NEW |
---|---|
(Empty) | |
1 {% extends "viewer_base.html" %} | |
2 | |
3 {% block title %} | |
4 Buildbot: {{builderName}} build #{{number}} | |
5 {% endblock title %} | |
6 | |
7 {% block body %} | |
8 <div class="row-fluid"> | |
9 <div class="span12"> | |
10 {% if currentStep %} | |
11 <div class="alert alert-info"> | |
12 Currently running {{currentStep.name}} | |
13 </div> | |
14 {% elif results == 0 %} | |
15 <div class="alert alert-success"> | |
16 This build passed | |
17 </div> | |
18 {% else %} | |
19 <div class="alert alert-error"> | |
20 This build <blink>failed</blink> on | |
agable
2013/04/23 18:18:17
Blink? Really?
| |
21 {% autoescape False %}{{failed_steps}}{% endautoescape %} | |
22 </div> | |
23 {% endif %} | |
24 </div> | |
25 </div> | |
26 | |
27 <div class="row-fluid"> | |
28 <div class="span6"> | |
29 <h4>Steps and Logfiles</h4> | |
30 <table class="table table-condensed table-hover"> | |
31 {% for step in steps %} | |
32 {% if not step.isFinished %} | |
33 {% if step.isStarted %} | |
34 <tr class="warning"><td> | |
35 {% else %} | |
36 <tr><td> | |
37 {% endif %} | |
38 {% elif step.results[0] == 0 %} | |
39 <tr class="success"><td> | |
40 {% elif step.results[0] == 3 %} | |
41 <tr><td> | |
42 {% elif step.results[0] == 1 %} | |
43 <tr class="warning"><td> | |
44 {% else %} | |
45 <tr class="error"><td> | |
46 {% endif %} | |
47 <strong>{{step.name}}</strong> | |
48 {% if step.logs %} | |
49 (<a href="/buildbot/?url={{step.logs[0][1]}}">{{step.logs[0][0]}}</a>) | |
50 {% endif %} | |
51 <small class="muted"> | |
52 {% for text in step.text %} | |
53 {% autoescape False %} | |
54 {{text}} | |
55 {% endautoescape %} | |
56 {% endfor %} | |
57 </small> | |
58 {% if step.times and step.times[1:] %} | |
59 <span class="pull-right muted"> | |
60 {% if step.times[1] %} | |
61 {% set delta = step.times[1] - step.times[0] %} | |
62 {{delta|delta_time}} | |
63 {% elif step.times[0] %} | |
64 Running for {{step.times[0]|time_since}} | |
65 {% endif %} | |
66 </span> | |
67 {% endif %} | |
68 {% if step.logs and step.logs[1:] %} | |
69 <ol> | |
70 {% for log_name, log_url in step.logs %} | |
71 {% if not loop.first %} | |
72 <li><a href="/buildbot/?url={{log_url}}">{{log_name}}</a></li> | |
73 {% endif %} | |
74 {% endfor %} | |
75 </ol> | |
76 {% endif %} | |
77 </td></tr> | |
78 {% endfor %} | |
79 </table> | |
80 </div> | |
81 | |
82 <div class="span6"> | |
83 <h4>Build Properties</h4> | |
84 {% for name, value, source in properties %} | |
85 {% if value and name not in ['blamelist', 'rietveld'] %} | |
86 <strong>{{name}}</strong>: | |
87 {% if name == 'issue' %} | |
88 <a href="{{rietveld}}/{{value}}"> | |
89 {{value}} | |
90 </a><br> | |
91 {% elif name == 'testfilter' %} | |
92 {{', '.join(value)}}<br> | |
93 {% elif name == 'try_job_key' %} | |
94 {{value[:10]}}...{{value[-10:]}}<br> | |
95 {% else %} | |
96 {{value}}<br> | |
97 {% endif %} | |
98 {% endif %} | |
99 {% endfor %} | |
100 | |
101 <h4>All Changes</h4> | |
102 {% for change in sourceStamp.changes %} | |
103 <div class="well"> | |
104 <span class="pull-right muted time_ago"> | |
105 {{change.when|time_since}} ago | |
106 </span> | |
107 <strong>Change #{{change.number}}</strong><br> | |
108 By {% autoescape False %}{{change.who|rot13_email}}{% endautoescape %} | |
109 <br> | |
110 Revision {{change.revision}}<br><br> | |
111 <strong>Comments:</strong><br> | |
112 {% autoescape False %} | |
113 {{change.comments|cl_comment}}<br><br> | |
114 {% endautoescape %} | |
115 <strong>Changes Files:</strong><br> | |
116 {% for file in change.files %} | |
117 <li><a href="https://code.google.com/p/chromium/codesearch#chromium/sr c/{{file.name}}"> | |
118 {{file.name}} | |
119 </a></li> | |
120 {% else %} | |
121 No changed files | |
122 {% endfor %} | |
123 </div> | |
124 {% endfor %} | |
125 </div> | |
126 </div> | |
127 {% endblock body %} | |
128 | |
129 {% block sub_footer %} | |
130 {% endblock sub_footer %} | |
OLD | NEW |