common/diamonds/sf-run-analysis.xml.ftl
author MattD <mattd@symbian.org>
Tue, 06 Oct 2009 17:52:59 +0100
changeset 608 7e37b08f44ce
parent 600 01511de51fcd
child 626 22bb9a334b13
permissions -rw-r--r--
sf-prep - Partial Revert of changeset aa36fa431e3d - 'Added processing of the BuildEnvironmentCheck for BRAG purposes.' as we need 'sf-check-env' to be optional with 'sf.suppress.buildenv.check' variable.

<?xml version="1.0" encoding="utf-8"?>

<diamonds-build>
  <schema>10</schema>
  
<#assign raptor_errors=0/>
<#assign raptor_warnings=0/>
<#list raptor_summary as raptor_item>
<#if raptor_item.category = "raptor_error">
  <#assign raptor_errors=raptor_errors+1 />
<#elseif raptor_item.category = "raptor_warning">
  <#assign raptor_warnings=raptor_warnings+1 />
</#if>
</#list>

  <faults>
    <total severity="Raptor Errors">${raptor_errors}</total>
    <total severity="Raptor Warnings">${raptor_warnings}</total>
    <total severity="Recipes Failed">${ant['sf.job.totalyarperrors']}</total>
  </faults>
  
  <files>
    <#list files as f>
    <file>
      <type>log</type>
      <name>${f.name}</name>
      <url>file:///${f.path}</url>
    </file>
    </#list>
    <file>
      <type>log</type>
      <name>Raptor summary</name>
      <url>file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\logs\raptorbits\summary.csv</url>
    </file>
    <file>
      <type>log</type>
      <name>BRAG Summary</name>
      <url>file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\summary\_brag.xml</url>
    </file>
   </files>
  
</diamonds-build>