common/build.postbuild.xml
changeset 1050 34dcbee2af5e
parent 1041 705ebddb2efc
child 1057 1302574aca03
equal deleted inserted replaced
1049:106264ed9735 1050:34dcbee2af5e
   616         <exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_collisions.log">
   616         <exec executable="perl" dir="${build.drive}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_collisions.log">
   617             <arg value="${sf.common.config.dir}/tools/analysis/find_collisions.pl"/>
   617             <arg value="${sf.common.config.dir}/tools/analysis/find_collisions.pl"/>
   618             <arg value="${build.log.dir}/analysis/${build.id}_what_results.csv"/>
   618             <arg value="${build.log.dir}/analysis/${build.id}_what_results.csv"/>
   619         </exec>
   619         </exec>
   620     </target>
   620     </target>
   621 
   621     
   622     <target name="sf-run-analysis-diamonds">      
   622     <target name="sf-run-analysis-diamonds">
   623       <fmpp sourceFile="${sf.common.config.dir}/diamonds/sf-run-analysis-diamonds.xml.ftl" outputFile="${build.drive}/output/logs/sf-run-analysis-diamonds.xml">
   623       <if>
   624         <data expandProperties="yes">
   624         <istrue value="${sf.spec.publish.enable}"/>
   625           ant: antProperties()
   625         <then>
   626           raptor_summary: csv(${build.log.dir}/raptorbits/summary.csv,{separator:',',headers:[category,subcategory,severity,config,component,mmp,phase,recipe,file,line]})
   626           <echo>[SF-RUN-ANALYSIS-DIAMONDS]</echo>
   627         </data>
   627           <echo message="Translate \output\logs\html\index.html into a Diamonds file"/>
   628       </fmpp>
   628           <exec executable="perl" dir="${build.drive}">
       
   629             <arg value="${sf.common.config.dir}/tools/uh2diamonds.pl"/>
       
   630           </exec>
       
   631           <echo message="Send ${build.log.dir}/diamonds_uh.xml to Diamonds"/>
       
   632           <exec executable="python">
       
   633 		    <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/>
       
   634 		    <arg value="-u"/>
       
   635 		    <arg value="http://${diamonds.host}${diamonds.build.id}"/>
       
   636 		    <arg value="-f"/>
       
   637 		    <arg value="${build.log.dir}/diamonds_uh.xml"/>
       
   638 		  </exec>
       
   639         </then>
       
   640       </if>
   629     </target>
   641     </target>
   630     
   642     
   631     <target name="sf-links-to-diamonds">
   643     <target name="sf-links-to-diamonds">
   632       <fmpp sourceFile="${sf.common.config.dir}/diamonds/linksForDiamonds.xml.ftl" outputFile="${build.log.dir}/linksForDiamonds.xml">
   644       <fmpp sourceFile="${sf.common.config.dir}/diamonds/linksForDiamonds.xml.ftl" outputFile="${build.log.dir}/linksForDiamonds.xml">
   633         <data expandProperties="yes">
   645         <data expandProperties="yes">