common/diamonds/sf-run-analysis-diamonds.xml.ftl
changeset 695 1eaeee12c3d1
equal deleted inserted replaced
694:260b05585dc3 695:1eaeee12c3d1
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 
       
     3 <diamonds-build>
       
     4   <schema>14</schema>
       
     5   
       
     6 <#assign raptor_errors=0/>
       
     7 <#assign raptor_warnings=0/>
       
     8 <#list raptor_summary as raptor_item>
       
     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>
       
    14 </#list>
       
    15 
       
    16   <faults>
       
    17     <total severity="Raptor Errors">${raptor_errors}</total>
       
    18     <total severity="Raptor Warnings">${raptor_warnings}</total>
       
    19     <total severity="Recipes Failed">${ant['sf.job.totalyarperrors']}</total>
       
    20   </faults>
       
    21 </diamonds-build>