631 <arg value="${build.log.dir}/analysis/${yarpfile}"/> |
631 <arg value="${build.log.dir}/analysis/${yarpfile}"/> |
632 </exec> |
632 </exec> |
633 <exec executable="cmd" output="${build.drive}/output/logs/analysis/tmp_yarp_files.csv" append="true"> |
633 <exec executable="cmd" output="${build.drive}/output/logs/analysis/tmp_yarp_files.csv" append="true"> |
634 <arg value="/c"/> |
634 <arg value="/c"/> |
635 <arg value="echo"/> |
635 <arg value="echo"/> |
636 <arg value="${yarpfile_short},${sf.spec.publish.networkdrive}\${sf.spec.job.name}\builds\${sf.spec.job.codeline}\${build.id}\logs\analysis\${yarpfile}"/> |
636 <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}"/> |
637 </exec> |
637 </exec> |
638 </sequential> |
638 </sequential> |
639 </for> |
639 </for> |
640 |
|
641 <!-- fake build results file --> |
|
642 <!-- copy file="D:\zoo\fake_results_file\sf-run-analysis.xml" todir="${build.drive}/output/logs" failonerror="false" verbose="true"/ --> |
|
643 |
640 |
644 <exec executable="perl" dir="${build.drive}" failonerror="false" outputproperty="sf.job.totalyarperrors"> |
641 <exec executable="perl" dir="${build.drive}" failonerror="false" outputproperty="sf.job.totalyarperrors"> |
645 <arg value="${sf.common.config.dir}/tools/analysis/parse_yarp_files.pl"/> |
642 <arg value="${sf.common.config.dir}/tools/analysis/parse_yarp_files.pl"/> |
646 <arg value="${build.drive}/output/logs/analysis/tmp_yarp_files.csv"/> |
643 <arg value="${build.drive}/output/logs/analysis/tmp_yarp_files.csv"/> |
647 </exec> |
644 </exec> |
648 <echo message="Total yarp errors: ${sf.job.totalyarperrors}"/> |
645 <echo message="Total yarp errors: ${sf.job.totalyarperrors}"/> |
649 |
646 |
650 <fmpp sourceFile="${sf.common.config.dir}/diamonds/sf-run-analysis.xml.ftl" outputFile="${build.drive}/output/logs/sf-run-analysis.xml"> |
647 <fmpp sourceFile="${sf.common.config.dir}/diamonds/sf-run-analysis.xml.ftl" outputFile="${build.drive}/output/logs/sf-run-analysis.xml"> |
651 <data expandProperties="yes"> |
648 <data expandProperties="yes"> |
652 ant: antProperties() |
649 ant: antProperties() |
653 files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path]}) |
650 files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]}) |
654 </data> |
651 </data> |
655 </fmpp> |
652 </fmpp> |
656 |
653 |
657 </target> |
654 </target> |
658 |
655 |