77 </then> |
77 </then> |
78 </if> |
78 </if> |
79 |
79 |
80 <!-- copy log files linked to the generation of roms for REE --> |
80 <!-- copy log files linked to the generation of roms for REE --> |
81 <runtarget target="sf-copy-rom-logs"/> |
81 <runtarget target="sf-copy-rom-logs"/> |
82 |
82 |
|
83 <runtarget target="sf-merge-brag"/> |
|
84 |
83 <!-- Zip up all the logs --> |
85 <!-- Zip up all the logs --> |
84 <runtarget target="sf-zip-logs"/> |
86 <runtarget target="sf-zip-logs"/> |
85 |
87 |
86 <if> |
88 <if> |
87 <istrue value="${sf.spec.publish.enable}" /> |
89 <istrue value="${sf.spec.publish.enable}" /> |
565 <arg value="http://${diamonds.host}${diamonds.build.id}"/> |
567 <arg value="http://${diamonds.host}${diamonds.build.id}"/> |
566 <arg value="-f"/> |
568 <arg value="-f"/> |
567 <arg value="${build.log.dir}/linksForDiamonds.xml"/> |
569 <arg value="${build.log.dir}/linksForDiamonds.xml"/> |
568 </exec> |
570 </exec> |
569 </target> |
571 </target> |
570 |
572 |
571 <target name="sf-brag-to-diamonds"> |
573 <target name="sf-merge-brag"> |
572 <!-- Merge all our bits of XML together --> |
574 <!-- Merge all our bits of XML together --> |
573 <exec executable="perl" output="${build.log.dir}/summary/_BRAG.xml" logError="true"> |
575 <exec executable="perl" output="${build.log.dir}/summary/_BRAG.xml" logError="true"> |
574 <arg value="${sf.common.config.dir}/tools/mergeXML.pl"/> |
576 <arg value="${sf.common.config.dir}/tools/mergeXML.pl"/> |
575 <arg value="--xsl=brag.xsl"/> |
577 <arg value="--xsl=brag.xsl"/> |
576 <arg value="--merge=buildStatus,phase(name),step(name),failures(level)"/> |
578 <arg value="--merge=buildStatus,phase(name),step(name),failures(level)"/> |
577 <arg value="${build.log.dir}/summary/*?_BRAG.xml"/> |
579 <arg value="${build.log.dir}/summary/*?_BRAG.xml"/> |
578 </exec> |
580 </exec> |
|
581 </target> |
|
582 |
|
583 <target name="sf-brag-to-diamonds"> |
579 <!-- Run XSL transform to create file to send to diamonds --> |
584 <!-- Run XSL transform to create file to send to diamonds --> |
580 <java jar="${sf.common.config.dir}/sysdefdowngrade/xalan-j_2_7_1/xalan.jar" fork="true"> |
585 <java jar="${sf.common.config.dir}/sysdefdowngrade/xalan-j_2_7_1/xalan.jar" fork="true"> |
581 <arg value="-IN"/> |
586 <arg value="-IN"/> |
582 <arg value="${build.log.dir}/summary/_BRAG.xml"/> |
587 <arg value="${build.log.dir}/summary/_BRAG.xml"/> |
583 <arg value="-XSL"/> |
588 <arg value="-XSL"/> |