779 <exclude name="output/logs/BOM/**"/> |
779 <exclude name="output/logs/BOM/**"/> |
780 <exclude name="output/logs/deliverables/**"/> |
780 <exclude name="output/logs/deliverables/**"/> |
781 <exclude name="output/logs/releaseables/**"/> |
781 <exclude name="output/logs/releaseables/**"/> |
782 </zip> |
782 </zip> |
783 <!-- workaround for the time when when 'sf-run-analysis-raptor' has not been run --> |
783 <!-- workaround for the time when when 'sf-run-analysis-raptor' has not been run --> |
784 <mkdir dir="${build.drive}/output/logs/releaseables"/> |
784 <mkdir dir="${build.drive}/output/logs/releaseables"/> |
785 <zip destfile="${build.output.dir}/zips/release/build_BOM.zip"> |
785 <if> |
786 <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/> |
786 <available file="${build.drive}/output/logs/package_definitions" type="dir"/> |
787 <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/> |
787 <then> |
788 <zipfileset dir="${build.drive}/output/logs" prefix="build_info/logs/BOM"> |
788 <zip destfile="${build.output.dir}/zips/release/build_BOM.zip"> |
789 <include name="envinfo.txt"/> |
789 <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/> |
790 </zipfileset> |
790 <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/> |
791 <zipfileset dir="${build.drive}/output/logs/package_definitions" prefix="build_info/package_definitions"/> |
791 <zipfileset dir="${build.drive}/output/logs" prefix="build_info/logs/BOM"> |
792 </zip> |
792 <include name="envinfo.txt"/> |
|
793 </zipfileset> |
|
794 <zipfileset dir="${build.drive}/output/logs/package_definitions" prefix="build_info/package_definitions"/> |
|
795 </zip> |
|
796 </then> |
|
797 <else> |
|
798 <zip destfile="${build.output.dir}/zips/release/build_BOM.zip"> |
|
799 <zipfileset dir="${build.drive}/output/logs/BOM" prefix="build_info/logs/BOM"/> |
|
800 <zipfileset dir="${build.drive}/output/logs/releaseables" prefix="build_info/logs/releaseables"/> |
|
801 <zipfileset dir="${build.drive}/output/logs" prefix="build_info/logs/BOM"> |
|
802 <include name="envinfo.txt"/> |
|
803 </zipfileset> |
|
804 </zip> |
|
805 </else> |
|
806 </if> |
793 <antcall target="sf-zip-content"> |
807 <antcall target="sf-zip-content"> |
794 <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
808 <param name="zip.config.file" value="${temp.build.dir}/zip.cfg.xml.ftl"/> |
795 <param name="zip.target.name" value="info-just-metadata" /> |
809 <param name="zip.target.name" value="info-just-metadata" /> |
796 </antcall> |
810 </antcall> |
797 </then> |
811 </then> |