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 |
<h2>Synergy errors</h2>
|
|
46 |
<p>
|
587
|
47 |
<#list table_info['native:com.nokia.helium.jpa.entity.metadata.MetadataEntry']['select * from metadataentry m INNER JOIN priority p ON p.priority_id=m.priority_id where m.logpath_id=${logfile.id} and ( UPPER(p.priority) like \'ERROR\' or UPPER(p.priority) like \'WARNING\' )'] as entry >
|
|
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 |
|
587
|
66 |
<#list table_info['jpa']['select c from Component c where c.logPathID=${logfile.id} ORDER BY c.component'] as component>
|
217
|
67 |
<tr>
|
587
|
68 |
<td>${component.component}</td>
|
217
|
69 |
<#list colors?keys as type>
|
587
|
70 |
<#assign count = table_info['jpasingle']['select count(m.id) from MetadataEntry m JOIN m.priority as p JOIN m.component as c where (UPPER(p.priority)=\'${type?upper_case}\' and c.id=${component.id})'][0] >
|
|
71 |
<#if type=='error'>
|
|
72 |
<#assign count_missing = table_info['jpasingle']['select count(w.id) from WhatLogEntry w JOIN w.component c where c.logPathID=${logfile.id} and w.missing=\'true\''][0]>
|
|
73 |
<#assign count = count?number + count_missing?number>
|
|
74 |
</#if>
|
|
75 |
<#if (count?number > 0)>
|
217
|
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>
|
587
|
83 |
</table>
|
217
|
84 |
</#list>
|
|
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>
|
587
|
89 |
<#list table_info['native:com.nokia.helium.jpa.entity.metadata.MetadataEntry']['select * from metadataentry m where m.logpath_id=${logfile.id}'] as entry >
|
217
|
90 |
${entry.text}<br/>
|
|
91 |
</#list>
|
|
92 |
</p>
|
|
93 |
</#list>
|
|
94 |
|
587
|
95 |
<#list table_info['jpa']['select l from LogFile l where LOWER(l.path) like \'%validate-policy.summary.xml\''] as logfile>
|
|
96 |
<h2>Distribution Policy validation</h2>
|
217
|
97 |
<p>
|
587
|
98 |
<#list table_info['native:com.nokia.helium.jpa.entity.metadata.MetadataEntry']['select * from metadataentry m where m.logpath_id=${logfile.id}'] as entry >
|
217
|
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> |