217
|
1 |
<#--
|
|
2 |
============================================================================
|
|
3 |
Name : cc_summary.html.ftl
|
|
4 |
Part of : Helium
|
|
5 |
|
|
6 |
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
7 |
All rights reserved.
|
|
8 |
This component and the accompanying materials are made available
|
|
9 |
under the terms of the License "Eclipse Public License v1.0"
|
|
10 |
which accompanies this distribution, and is available
|
|
11 |
at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
12 |
|
|
13 |
Initial Contributors:
|
|
14 |
Nokia Corporation - initial contribution.
|
|
15 |
|
|
16 |
Contributors:
|
|
17 |
|
|
18 |
Description:
|
|
19 |
|
|
20 |
============================================================================
|
|
21 |
-->
|
|
22 |
|
|
23 |
<#assign table_info = pp.loadData('com.nokia.helium.metadata.ORMFMPPLoader',
|
|
24 |
"${dbPath}") >
|
|
25 |
|
|
26 |
<h1>${ant['build.id']}</h1>
|
|
27 |
|
628
|
28 |
<#if ant?keys?seq_contains('publish.enabled') || ant?keys?seq_contains('publish')>
|
217
|
29 |
<#if ant?keys?seq_contains('publish.dir.list')>
|
|
30 |
<h2>Publish locations</h2>
|
|
31 |
<p>
|
|
32 |
<#list ant['publish.dir.list']?split(',') as site>
|
|
33 |
<a href="${site}">${site}</a></br>
|
|
34 |
</#list>
|
|
35 |
</p>
|
|
36 |
<#else>
|
|
37 |
<#if ant?keys?seq_contains('publish.dir')>
|
|
38 |
<h2>Publish locations</h2>
|
|
39 |
<p><a href="${ant['publish.dir']}">${ant['publish.dir']}</a></p>
|
|
40 |
</#if>
|
|
41 |
</#if>
|
|
42 |
</#if>
|
|
43 |
|
628
|
44 |
<#list table_info['jpa']['select l from LogFile l where LOWER(l.path) like \'%_ccm_get_input.log\''] as logfile>
|
217
|
45 |
<h2>Synergy errors</h2>
|
|
46 |
<p>
|
628
|
47 |
<#list table_info['jpa']['select m from MetadataEntry m JOIN m.severity p where m.logFileId=${logfile.id} and (p.severity=\'ERROR\' or p.severity=\'WARNING\' )'] as entry>
|
587
|
48 |
${entry.text}<br/>
|
217
|
49 |
</#list>
|
|
50 |
</p>
|
|
51 |
</#list>
|
|
52 |
|
587
|
53 |
<#list table_info['jpa']['select l from LogFile l where LOWER(l.path) like \'%_compile.log\' and LOWER(l.path) not like \'%_clean_%compile.log\''] as logfile>
|
|
54 |
<h2>Build errors (${logfile.path})</h2>
|
217
|
55 |
<#assign colors = {'error': 'FF0000', 'critical': 'FF7000', 'warning': 'FFF000', 'remark': '0000FF'}/>
|
|
56 |
|
|
57 |
<table border="1" cellpadding="0" cellspacing="0" width="100%">
|
|
58 |
<tr>
|
|
59 |
<th width="55%">Component</th>
|
|
60 |
<th width="15%">Errors</th>
|
|
61 |
<th width="15%">Criticals</th>
|
|
62 |
<th width="15%">Warnings</th>
|
|
63 |
<th width="15%">Notes</th>
|
|
64 |
</tr>
|
|
65 |
|
628
|
66 |
<#list table_info['jpa']['select c from Component c where c.logFileId=${logfile.id} ORDER BY c.component'] as component>
|
217
|
67 |
<tr>
|
587
|
68 |
<td>${component.component}</td>
|
217
|
69 |
<#list colors?keys as type>
|
628
|
70 |
<#assign count = table_info['jpasingle']['select count(m.id) from MetadataEntry m JOIN m.severity as p JOIN m.component as c where (p.severity=\'${type?upper_case}\' and c.id=${component.id})'][0] >
|
587
|
71 |
<#if (count?number > 0)>
|
217
|
72 |
<td align="center" bgcolor="#${colors[type]}">${count}</td>
|
|
73 |
<#else>
|
|
74 |
<td align="center">0</td>
|
|
75 |
</#if>
|
|
76 |
</#list>
|
|
77 |
</tr>
|
|
78 |
</#list>
|
587
|
79 |
</table>
|
217
|
80 |
</#list>
|
|
81 |
|
|
82 |
<#list table_info['jpa']['select l from LogFile l where LOWER(l.path) like \'%roms.log\''] as logfile>
|
|
83 |
<h2>ROMs ${logfile.path}</h2>
|
|
84 |
<p>
|
628
|
85 |
<#list table_info['jpa']['select m from MetadataEntry m where m.logFileId=${logfile.id}'] as entry>
|
217
|
86 |
${entry.text}<br/>
|
|
87 |
</#list>
|
|
88 |
</p>
|
|
89 |
</#list>
|
|
90 |
|
587
|
91 |
<#list table_info['jpa']['select l from LogFile l where LOWER(l.path) like \'%validate-policy.summary.xml\''] as logfile>
|
|
92 |
<h2>Distribution Policy validation</h2>
|
217
|
93 |
<p>
|
628
|
94 |
<#list table_info['jpa']['select m from MetadataEntry m where m.logFileId=${logfile.id}'] as entry>
|
217
|
95 |
${entry.text}<br/>
|
|
96 |
</#list>
|
|
97 |
</p>
|
|
98 |
</#list>
|
|
99 |
|
|
100 |
<#if ant?keys?seq_contains('diamonds.build.id')>
|
|
101 |
<p>
|
|
102 |
<h2>ATS Test Results</h2>
|
|
103 |
<a href="http://${ant['diamonds.host']}${ant['diamonds.build.id']}#tab=4" >http://${ant['diamonds.host']}${ant['diamonds.build.id']}#tab=4 </a>
|
|
104 |
</p>
|
|
105 |
</#if> |