Moved invocation of sf-brag-to-diamonds, so it's right at the end of the postbuild (apart from publishing zipped logs).
authorSimon Howkins <simonh@symbian.org>
Thu, 15 Oct 2009 16:47:42 +0100
changeset 676 63fe736c83fb
parent 675 92fa86ed31d8
child 677 dd6b7decdca2
Moved invocation of sf-brag-to-diamonds, so it's right at the end of the postbuild (apart from publishing zipped logs). This avoids the possibility of a build abort when parallel threaqds are trying to a) convert a log file into a brag file, and b) merge all brag files ready to determine the brag status. It also makes more sense - don't calculate or send the BRAGG status until the build is on the cusp of completion.
common/build.postbuild.xml
--- a/common/build.postbuild.xml	Thu Oct 15 15:59:58 2009 +0100
+++ b/common/build.postbuild.xml	Thu Oct 15 16:47:42 2009 +0100
@@ -293,7 +293,6 @@
           <istrue value="${sf.spec.publish.enable}"/>
             <then>
             <runtarget target="sf-run-analysis-diamonds"/>
-          	<runtarget target="sf-brag-to-diamonds"/>
             </then>
         </if>
     </target>
@@ -778,6 +777,7 @@
             </then>
         </if>
         <runtarget target="sf-zip-logs"/>
+        <runtarget target="sf-brag-to-diamonds"/>
         <if>
             <istrue value="${sf.spec.publish.enable}" />
             <then>