common/build.postbuild.xml
changeset 784 9791b89d932a
parent 778 33511d5b1edb
child 791 9054e820b1e6
equal deleted inserted replaced
783:b740d5b2ce61 784:9791b89d932a
   506         </data>
   506         </data>
   507       </fmpp>
   507       </fmpp>
   508       <!-- Send the data to the server -->
   508       <!-- Send the data to the server -->
   509 	  <exec executable="python">
   509 	  <exec executable="python">
   510 		    <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/>
   510 		    <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/>
   511 		    <arg value="-u http://${diamonds.host}${diamonds.build.id}"/>
   511 		    <arg value="-u"/>
   512 		    <arg value="-f ${build.log.dir}/linksForDiamonds.xml"/>
   512 		    <arg value="http://${diamonds.host}${diamonds.build.id}"/>
       
   513 		    <arg value="-f"/>
       
   514 		    <arg value="${build.log.dir}/linksForDiamonds.xml"/>
   513 	  </exec>
   515 	  </exec>
   514     </target>
   516     </target>
   515 
   517 
   516     <target name="sf-brag-to-diamonds">
   518     <target name="sf-brag-to-diamonds">
   517         <!-- Merge all our bits of XML together -->
   519         <!-- Merge all our bits of XML together -->
   550                     <isset property="diamonds.build.id"/>
   552                     <isset property="diamonds.build.id"/>
   551                     <then>
   553                     <then>
   552                         <!-- Send the data to the server -->
   554                         <!-- Send the data to the server -->
   553                         <exec executable="python">
   555                         <exec executable="python">
   554                             <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/>
   556                             <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/>
   555                             <arg value="-u http://${diamonds.host}${diamonds.build.id}"/>
   557                             <arg value="-u"/>
   556                             <arg value="-f ${temp.build.dir}/bragForDiamonds.xml"/>
   558                             <arg value="http://${diamonds.host}${diamonds.build.id}"/>
       
   559                             <arg value="-f"/>
       
   560                             <arg value="${temp.build.dir}/bragForDiamonds.xml"/>
   557                         </exec>
   561                         </exec>
   558                     </then>
   562                     </then>
   559                     <else>
   563                     <else>
   560                         <echo message="diamonds.build.id is not known - unable to push any build specific information to diamonds server"/>
   564                         <echo message="diamonds.build.id is not known - unable to push any build specific information to diamonds server"/>
   561                     </else>
   565                     </else>