common/build.postbuild.xml
changeset 649 4468add5d834
parent 640 5ad0657305e8
child 664 29955a149536
equal deleted inserted replaced
648:5d343f062b11 649:4468add5d834
   392       </exec>
   392       </exec>
   393       <!-- And copy the XSL so the output can be transformed by a browser -->
   393       <!-- And copy the XSL so the output can be transformed by a browser -->
   394       <copy file="${sf.common.config.dir}/tools/brag/brag.xsl" toDir="${build.log.dir}/summary/"/>
   394       <copy file="${sf.common.config.dir}/tools/brag/brag.xsl" toDir="${build.log.dir}/summary/"/>
   395     </target>
   395     </target>
   396 
   396 
   397     <target name="sf-run-analysis-yarp">          
   397     <target name="sf-run-analysis-yarp">
   398       <echo message="Running yarp over *_compile.log files"/>
   398       <echo message="Running yarp over *_compile.log files"/>
   399       <for param="logfile">
   399       <for param="logfile">
   400         <path>
   400         <path>
   401           <fileset dir="${build.log.dir}">
   401           <fileset dir="${build.log.dir}">
   402             <include name="*_compile.log"/>
   402             <include name="*_compile.log"/>
   417             <arg value="echo"/>
   417             <arg value="echo"/>
   418             <arg value="${yarpfile_short},${sf.spec.publish.networkdrive}\${sf.spec.job.name}\builds\${sf.spec.job.codeline}\${build.id}\logs\analysis\${yarpfile},${build.drive}\output\logs\analysis\${yarpfile}"/>
   418             <arg value="${yarpfile_short},${sf.spec.publish.networkdrive}\${sf.spec.job.name}\builds\${sf.spec.job.codeline}\${build.id}\logs\analysis\${yarpfile},${build.drive}\output\logs\analysis\${yarpfile}"/>
   419           </exec>
   419           </exec>
   420         </sequential>
   420         </sequential>
   421       </for>
   421       </for>
       
   422       
       
   423       <!-- Cook the yarp analysis further to produce something in the right format for the BRAG system -->
       
   424       <mkdir dir="${build.log.dir}/summary/"/>
       
   425       <exec executable="perl" output="${build.log.dir}/summary/Yarp_BRAG.xml" logError="yes">
       
   426         <arg value="${sf.common.config.dir}/tools/brag/yarpToBRAG.pl"/>
       
   427         <arg value="${build.log.dir}/analysis/*_yarp.csv"/>
       
   428       </exec>
   422       
   429       
   423       <exec executable="perl" dir="${build.drive}" failonerror="false" outputproperty="sf.job.totalyarperrors">
   430       <exec executable="perl" dir="${build.drive}" failonerror="false" outputproperty="sf.job.totalyarperrors">
   424         <arg value="${sf.common.config.dir}/tools/analysis/parse_yarp_files.pl"/>
   431         <arg value="${sf.common.config.dir}/tools/analysis/parse_yarp_files.pl"/>
   425         <arg value="${build.drive}/output/logs/analysis/tmp_yarp_files.csv"/>
   432         <arg value="${build.drive}/output/logs/analysis/tmp_yarp_files.csv"/>
   426       </exec>
   433       </exec>