common/build.postbuild.xml
changeset 959 8dfe67a9e2fe
parent 942 dabd7af4f869
child 960 b0315c337be6
equal deleted inserted replaced
958:72efe73cb3cf 959:8dfe67a9e2fe
    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"/>
   842 
   847 
   843                 <echo message="INFO Validate Zip files"/>
   848                 <echo message="INFO Validate Zip files"/>
   844                 <runtarget target="sf-package-validate"/>
   849                 <runtarget target="sf-package-validate"/>
   845             </then>
   850             </then>
   846         </if>
   851         </if>
       
   852 		<runtarget target="sf-merge-brag"/>
   847         <runtarget target="sf-zip-logs"/>
   853         <runtarget target="sf-zip-logs"/>
   848                 
   854                 
   849         <if>
   855         <if>
   850             <istrue value="${sf.spec.publish.enable}" />
   856             <istrue value="${sf.spec.publish.enable}" />
   851             <then>
   857             <then>