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 |
|
|
28 |
<#if ant?keys?seq_contains('publish')>
|
|
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 |
|
|
44 |
<#list table_info['jpa']['select l from LogFile l where LOWER(l.path) like \'%_ccm_get_input.log%\''] as logfile>
|
|
45 |
|
|
46 |
<#assign metadata_ccm_records = table_info['native']['select * from metadataentry where logpath_id = ${logpath} and (priority_id in (select id from priority where priority=\'ERROR\') or priority_id in (select id from priority where priority=\'WARNING\'))'] >
|
|
47 |
<h2>Synergy errors</h2>
|
|
48 |
<p>
|
|
49 |
<#list table_info['native:com.nokia.helium.jpa.entity.metadata.MetadataEntry']['select * from metadataentry INNER JOIN priority ON priority.priority_id=metadataentry.priority_id where metadateentry.logpath_id=${logfile.id} and (UPPER(priority.priority) like \'ERROR\' OR UPPER(priority.priority) like \'WARNING\''] as entry >
|
|
50 |
${entry.text}
|
|
51 |
</#list>
|
|
52 |
</p>
|
|
53 |
</#list>
|
|
54 |
|
|
55 |
<h2>Build errors</h2>
|
|
56 |
<#list table_info['jpa']['select l from LogFile l where LOWER(l.path) like \'%_compile.log\' and path not like \'%_clean_compile.log\''] as logfile>
|
|
57 |
<#assign colors = {'error': 'FF0000', 'critical': 'FF7000', 'warning': 'FFF000', 'remark': '0000FF'}/>
|
|
58 |
|
|
59 |
<table border="1" cellpadding="0" cellspacing="0" width="100%">
|
|
60 |
<tr>
|
|
61 |
<th width="55%">Component</th>
|
|
62 |
<th width="15%">Errors</th>
|
|
63 |
<th width="15%">Criticals</th>
|
|
64 |
<th width="15%">Warnings</th>
|
|
65 |
<th width="15%">Notes</th>
|
|
66 |
</tr>
|
|
67 |
<#assign component_table = table_info['select id, component from component where logPath_id=${logpath}'] >
|
|
68 |
<#assign component_ids = component_table?keys?sort >
|
|
69 |
|
|
70 |
<#list table_info['jpa']['select c from Component c where c.logpathID=${logpath.id} ORDERBY component'] as component>
|
|
71 |
<tr>
|
|
72 |
<td>"${component.id}"</td>
|
|
73 |
<#list colors?keys as type>
|
|
74 |
<#assign count = table_info['jpasingle']['select count(m.id) from MetadataEntry as m JOIN m.priority as p where (UPPER(p.priority) like \'%${type?upper_case}%\' and M.componentId=${component.id}'][0] >
|
|
75 |
<#if ( count?number > 0)>
|
|
76 |
<td align="center" bgcolor="#${colors[type]}">${count}</td>
|
|
77 |
<#else>
|
|
78 |
<td align="center">0</td>
|
|
79 |
</#if>
|
|
80 |
</#list>
|
|
81 |
</tr>
|
|
82 |
</#list>
|
|
83 |
</#list>
|
|
84 |
</table>
|
|
85 |
|
|
86 |
<#list table_info['jpa']['select l from LogFile l where LOWER(l.path) like \'%roms.log\''] as logfile>
|
|
87 |
<h2>ROMs ${logfile.path}</h2>
|
|
88 |
<p>
|
|
89 |
<#list table_info['native:com.nokia.helium.jpa.entity.metadata.MetadataEntry']['select * from metadataentry where m.logpathId=${logfile.id}'] as entry >
|
|
90 |
${entry.text}<br/>
|
|
91 |
</#list>
|
|
92 |
</p>
|
|
93 |
</#list>
|
|
94 |
|
|
95 |
<#list table_info['jpa']['select l from LogFile l where LOWER(l.path) like \'%validate_policy.xml\''] as logfile>
|
|
96 |
<h2>Distribution Policy validation</h2>
|
|
97 |
<p>
|
|
98 |
<#list table_info['native:com.nokia.helium.jpa.entity.metadata.MetadataEntry']['select * from metadataentry where m.logpathId=${logfile.id}'] as entry >
|
|
99 |
${entry.text}<br/>
|
|
100 |
</#list>
|
|
101 |
</p>
|
|
102 |
</#list>
|
|
103 |
|
|
104 |
<#if ant?keys?seq_contains('diamonds.build.id')>
|
|
105 |
<p>
|
|
106 |
<h2>ATS Test Results</h2>
|
|
107 |
<a href="http://${ant['diamonds.host']}${ant['diamonds.build.id']}#tab=4" >http://${ant['diamonds.host']}${ant['diamonds.build.id']}#tab=4 </a>
|
|
108 |
</p>
|
|
109 |
</#if> |