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.
--- 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>