common/diamonds/sf-run-analysis.xml.ftl
changeset 364 4dc3b5b1577c
parent 237 f7fc039dd3a3
child 366 cde2244c8ea6
equal deleted inserted replaced
350:35ec0d29a3d8 364:4dc3b5b1577c
     1 <?xml version="1.0" encoding="utf-8"?>
     1 <?xml version="1.0" encoding="utf-8"?>
     2 
     2 
     3 <diamonds-build>
     3 <diamonds-build>
     4   <schema>10</schema>
     4   <schema>10</schema>
     5   
     5   
     6 <#assign raptor_count=0/>
     6 <#assign raptor_errors=0/>
       
     7 <#assign raptor_warnings=0/>
     7 <#list raptor_summary as raptor_item>
     8 <#list raptor_summary as raptor_item>
     8 <#assign raptor_count=raptor_count+1 />
     9 <#if raptor_item.category = "raptor_error">
       
    10   <#assign raptor_errors=raptor_errors+1 />
       
    11 <#elseif raptor_item.category = "raptor_warning">
       
    12   <#assign raptor_warnings=raptor_warnings+1 />
       
    13 </#if>
     9 </#list>
    14 </#list>
    10 
    15 
    11   <faults>
    16   <faults>
    12     <total severity="error">${ant['sf.job.totalyarperrors']}</total>
    17     <total severity="Raptor Errors">${raptor_errors}</total>
    13     <total severity="warning">0</total>
    18     <total severity="Raptor Warnings">${raptor_warnings}</total>
    14     <total severity="warning_rvct_bad">${raptor_count}</total>
    19     <total severity="Recipes Failed">${ant['sf.job.totalyarperrors']}</total>
    15     <total severity="warning_rvct_other">0</total>
       
    16     <total severity="codescanner_high">0</total>
       
    17     <total severity="codescanner_medium">0</total>
       
    18     <total severity="codescanner_low">0</total>
       
    19   </faults>
    20   </faults>
    20   
    21   
    21   <files>
    22   <files>
    22     <#list files as f>
    23     <#list files as f>
    23     <file>
    24     <file>