annotate bitten/templates/bitten_build.html @ 875:a68027e2245d

Add 'Platform' name to build report for web display and notifications. Fixes #541 and #633.
author osimons
date Thu, 21 Oct 2010 08:41:16 +0000
parents 70aebfc3a45f
children
rev   line source
503
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
1 <!DOCTYPE html
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml"
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
5 xmlns:xi="http://www.w3.org/2001/XInclude"
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
6 xmlns:py="http://genshi.edgewall.org/">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
7 <xi:include href="layout.html" />
629
f3bb52da9e3c 0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents: 558
diff changeset
8 <xi:include href="macros.html" />
503
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
9 <head>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
10 <title>$title</title>
636
21902b481ee7 0.6dev: Inline display of error and failure details in 'Test Results' summary table.
osimons
parents: 629
diff changeset
11 <script type="text/javascript">
21902b481ee7 0.6dev: Inline display of error and failure details in 'Test Results' summary table.
osimons
parents: 629
diff changeset
12 jQuery(document).ready(function($){
21902b481ee7 0.6dev: Inline display of error and failure details in 'Test Results' summary table.
osimons
parents: 629
diff changeset
13 $("table.tests tr.failed th .fixture").enableFolding(true);
21902b481ee7 0.6dev: Inline display of error and failure details in 'Test Results' summary table.
osimons
parents: 629
diff changeset
14 });
21902b481ee7 0.6dev: Inline display of error and failure details in 'Test Results' summary table.
osimons
parents: 629
diff changeset
15 </script>
503
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
16 </head>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
17 <body>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
18 <div id="content" class="build">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
19 <h1>$title</h1>
558
1a4541c87021 Show table of contents in build recipe view (eblot) - fixes #394
dfraser
parents: 503
diff changeset
20 <div class="step-toc"><h4 id="step-toc-qj">Build steps</h4><ol>
1a4541c87021 Show table of contents in build recipe view (eblot) - fixes #394
dfraser
parents: 503
diff changeset
21 <py:for each="step in build.steps">
1a4541c87021 Show table of contents in build recipe view (eblot) - fixes #394
dfraser
parents: 503
diff changeset
22 <li class="${step.failed and 'failed' or 'success'}"><a
1a4541c87021 Show table of contents in build recipe view (eblot) - fixes #394
dfraser
parents: 503
diff changeset
23 href="#step_${step.name}">$step.name</a></li>
1a4541c87021 Show table of contents in build recipe view (eblot) - fixes #394
dfraser
parents: 503
diff changeset
24 </py:for></ol>
1a4541c87021 Show table of contents in build recipe view (eblot) - fixes #394
dfraser
parents: 503
diff changeset
25 </div>
503
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
26 <dl id="overview" py:with="slave = build.slave">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
27 <dt class="config">Configuration:</dt>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
28 <dd class="config">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
29 <a href="$build.config.href">$build.config.name</a>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
30 </dd>
875
a68027e2245d Add 'Platform' name to build report for web display and notifications. Fixes #541 and #633.
osimons
parents: 834
diff changeset
31 <dt class="platform">Platform:</dt>
a68027e2245d Add 'Platform' name to build report for web display and notifications. Fixes #541 and #633.
osimons
parents: 834
diff changeset
32 <dd class="platform">
a68027e2245d Add 'Platform' name to build report for web display and notifications. Fixes #541 and #633.
osimons
parents: 834
diff changeset
33 $build.platform
a68027e2245d Add 'Platform' name to build report for web display and notifications. Fixes #541 and #633.
osimons
parents: 834
diff changeset
34 </dd>
503
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
35 <dt class="trigger">Triggered by:</dt>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
36 <dd class="trigger">
834
70aebfc3a45f Use `display_rev` strategy instead of just `rev` as that displays much nicer for DVCS sytems with long hash revisions numbers using Trac 0.12. No visual differences for Trac 0.11 users.
osimons
parents: 655
diff changeset
37 Changeset <a href="$build.chgset_href">[$build.display_rev]</a> by
655
731b2edbd0dc 0.6dev: Email obfuscation of changeset author when displaying builds and changesets.
osimons
parents: 636
diff changeset
38 ${format_author(build.chgset_author)}
503
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
39 </dd>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
40 <dt class="slave">Built by:</dt>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
41 <dd class="slave">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
42 <code>$slave.name</code> ($slave.ipnr)
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
43 </dd>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
44 <dt class="os">Operating system:</dt>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
45 <dd>$slave.os_name $slave.os_version ($slave.os_family)</dd>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
46 <py:if test="slave.machine"><dt class="machine">Hardware:</dt>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
47 <dd class="machine">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
48 $slave.machine
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
49 <py:if test="slave.processor"> ($slave.processor)</py:if>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
50 </dd></py:if>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
51 <dt class="time">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
52 ${build.stopped and 'Started:' or 'Building since:'}
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
53 </dt>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
54 <dd class="time">$build.started ($build.started_delta ago)</dd>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
55 <py:if test="build.stopped"><dt class="time">Stopped:</dt>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
56 <dd class="time">$build.stopped ($build.stopped_delta ago)</dd></py:if>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
57 <dt class="duration">Duration:</dt>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
58 <dd class="duration">$build.duration</dd>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
59 </dl>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
60 <div py:if="build.can_delete" class="buttons">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
61 <form method="post" action=""><div>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
62 <input type="hidden" name="action" value="invalidate" />
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
63 <input type="submit" value="Invalidate build" />
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
64 </div></form>
629
f3bb52da9e3c 0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents: 558
diff changeset
65 ${attach_file_form(build.attachments)}
f3bb52da9e3c 0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents: 558
diff changeset
66 </div>
f3bb52da9e3c 0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents: 558
diff changeset
67 ${list_of_attachments(build.attachments, compact=True)}
f3bb52da9e3c 0.6dev: Adding support for attachments to configurations and build - full web implementation that mirrors what is available in Ticket and Wiki. Also added a new generic `<attach/>` command that enables attaching files to be part of a recipe and uploaded by slaves as part of build.
osimons
parents: 558
diff changeset
68 <py:for each="step in build.steps">
503
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
69 <h2 class="step" id="step_${step.name}">$step.name ($step.duration)</h2>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
70 <div py:if="step.errors" class="errors">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
71 <h3>Errors</h3>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
72 <ul>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
73 <li py:for="error in step.errors">$error</li>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
74 </ul>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
75 </div>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
76 <p>$step.description</p>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
77 <div id="${step.name}_tabs">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
78 <div class="tab">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
79 <h3>Log</h3>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
80 <div class="log"><py:for each="item in step.log"><code class="$item.level">$item.message</code><br /></py:for></div>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
81 </div>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
82 <div py:for="report in [r for r in step.reports if r.template]"
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
83 class="tab report $report.category">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
84 <xi:include href="$report.template" py:with="data = report.data" />
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
85 </div>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
86 </div>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
87 <script type="text/javascript">
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
88 makeTabSet(document.getElementById("${step.name}_tabs"));
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
89 </script></py:for>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
90 </div>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
91 </body>
a7c795920c4a Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
wbell
parents:
diff changeset
92 </html>
Copyright (C) 2012-2017 Edgewall Software