Add link in Diamonds to read the BAG status from _brag.xml.
authorArnaud Lenoir
Tue, 06 Oct 2009 13:02:58 +0100 (2009-10-06)
changeset 600 01511de51fcd
parent 599 27e421bea313
child 602 022273556ac9
child 615 6f70bcc536bb
Add link in Diamonds to read the BAG status from _brag.xml.
common/build.postbuild.xml
common/diamonds/sf-run-analysis.xml.ftl
--- a/common/build.postbuild.xml	Tue Oct 06 11:58:10 2009 +0100
+++ b/common/build.postbuild.xml	Tue Oct 06 13:02:58 2009 +0100
@@ -487,6 +487,16 @@
           files: csv(${build.drive}/output/logs/analysis/tmp_yarp_files.csv,{separator:',',headers:[name,path,localpath]})
         </data>
       </fmpp>
+      <!-- Send the data to the server -->
+	  <exec executable="python">
+		    <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/>
+		    <arg value="-s"/>
+		    <arg value="${diamonds.host}"/>
+		    <arg value="-u"/>
+		    <arg value="${diamonds.build.id}"/>
+		    <arg value="-f"/>
+		    <arg value="${build.log.dir}/sf-run-analysis.xml"/>
+	  </exec>
     </target>    
 
     <target name="sf-brag-to-diamonds">
--- a/common/diamonds/sf-run-analysis.xml.ftl	Tue Oct 06 11:58:10 2009 +0100
+++ b/common/diamonds/sf-run-analysis.xml.ftl	Tue Oct 06 13:02:58 2009 +0100
@@ -34,9 +34,9 @@
     </file>
     <file>
       <type>log</type>
-      <name>Build Summary</name>
-      <url>file:///${ant['sf.spec.publish.networkdrive']}\${ant['sf.spec.job.name']}\builds\${ant['sf.spec.job.codeline']}\${ant['build.id']}\build_summary.html</url>
+      <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>
+   </files>
   
 </diamonds-build>
\ No newline at end of file