Adding provision of publishing release zips to 'Candidates' location.
--- a/common/build.postbuild.xml Tue Sep 21 16:22:39 2010 +0100
+++ b/common/build.postbuild.xml Wed Sep 22 17:28:09 2010 +0100
@@ -990,6 +990,15 @@
</copy>
<mkdir dir="${publish.dir}/ats_reports"/>
<copy file="${sf.common.config.dir}/tools/ats/report_dummy.html" tofile="${publish.dir}/ats_reports/index.html" failonerror="false"/>
+ <if>
+ <istrue value="${sf.spec.publish.release.zips.enable}" />
+ <then>
+ <mkdir dir="${sf.spec.publish.release.zips.location}/${build.id}"/>
+ <copy todir="${sf.spec.publish.release.zips.location}/${build.id}" preservelastmodified="true" failonerror="false">
+ <fileset dir="${build.output.dir}/zips/release/"><include name="*.zip"/></fileset>
+ </copy>
+ </then>
+ </if>
</target>
<!-- TODO: Make this work for package builds once we have sysmodel story worked out -->
--- a/common/common_props.ant.xml Tue Sep 21 16:22:39 2010 +0100
+++ b/common/common_props.ant.xml Wed Sep 22 17:28:09 2010 +0100
@@ -137,6 +137,9 @@
<!-- Package tests properties -->
<property name="sf.spec.package.test.enable" value="false"/> <!-- This disables package tests -->
+
+ <property name="sf.spec.publish.release.zips.enable" value="false"/>
+ <property name="sf.spec.publish.release.zips.location" value="\\v800020\Candidates"/>
</project>