--- a/common/build.xml Fri Jun 19 10:10:05 2009 +0100
+++ b/common/build.xml Fri Jun 19 17:12:56 2009 +0100
@@ -633,14 +633,11 @@
<exec executable="cmd" output="${build.drive}/output/logs/analysis/tmp_yarp_files.csv" append="true">
<arg value="/c"/>
<arg value="echo"/>
- <arg value="${yarpfile_short},${sf.spec.publish.networkdrive}\${sf.spec.job.name}\builds\${sf.spec.job.codeline}\${build.id}\logs\analysis\${yarpfile}"/>
+ <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}"/>
</exec>
</sequential>
</for>
- <!-- fake build results file -->
- <!-- copy file="D:\zoo\fake_results_file\sf-run-analysis.xml" todir="${build.drive}/output/logs" failonerror="false" verbose="true"/ -->
-
<exec executable="perl" dir="${build.drive}" failonerror="false" outputproperty="sf.job.totalyarperrors">
<arg value="${sf.common.config.dir}/tools/analysis/parse_yarp_files.pl"/>
<arg value="${build.drive}/output/logs/analysis/tmp_yarp_files.csv"/>
@@ -650,7 +647,7 @@
<fmpp sourceFile="${sf.common.config.dir}/diamonds/sf-run-analysis.xml.ftl" outputFile="${build.drive}/output/logs/sf-run-analysis.xml">
<data expandProperties="yes">
ant: antProperties()
- files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path]})
+ files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]})
</data>
</fmpp>
--- a/common/tools/analysis/parse_yarp_files.pl Fri Jun 19 10:10:05 2009 +0100
+++ b/common/tools/analysis/parse_yarp_files.pl Fri Jun 19 17:12:56 2009 +0100
@@ -3,7 +3,7 @@
open(FILE, $ARGV[0]);
while ( <FILE> )
{
- if ( m/[^,]*,([^,]*)/ )
+ if ( m/^[^,]*,[^,]*,([^,]*)/ )
{
my $sFile = $1;
chomp $sFile;
@@ -25,7 +25,7 @@
{
if ( m/^Raptor recipe failures:\s+(\d+)$/ )
{
- #print "Attempt: $1 Errors: $2\n";
+# print "Raptor recipe failures: $1\n";
$nRecipeErrors = $1;
}
}