common/build.postbuild.xml
changeset 778 33511d5b1edb
parent 773 6a54b486a5b4
child 784 9791b89d932a
equal deleted inserted replaced
777:77f4b6d2d3e0 778:33511d5b1edb
   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="-s"/>
   511 		    <arg value="-u http://${diamonds.host}${diamonds.build.id}"/>
   512 		    <arg value="${diamonds.host}"/>
   512 		    <arg value="-f ${build.log.dir}/linksForDiamonds.xml"/>
   513 		    <arg value="-u"/>
       
   514 		    <arg value="${diamonds.build.id}"/>
       
   515 		    <arg value="-f"/>
       
   516 		    <arg value="${build.log.dir}/linksForDiamonds.xml"/>
       
   517 	  </exec>
   513 	  </exec>
   518     </target>
   514     </target>
   519 
   515 
   520     <target name="sf-brag-to-diamonds">
   516     <target name="sf-brag-to-diamonds">
   521         <!-- Merge all our bits of XML together -->
   517         <!-- Merge all our bits of XML together -->
   554                     <isset property="diamonds.build.id"/>
   550                     <isset property="diamonds.build.id"/>
   555                     <then>
   551                     <then>
   556                         <!-- Send the data to the server -->
   552                         <!-- Send the data to the server -->
   557                         <exec executable="python">
   553                         <exec executable="python">
   558                             <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/>
   554                             <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/>
   559                             <arg value="-s"/>
   555                             <arg value="-u http://${diamonds.host}${diamonds.build.id}"/>
   560                             <arg value="${diamonds.host}"/>
   556                             <arg value="-f ${temp.build.dir}/bragForDiamonds.xml"/>
   561                             <arg value="-u"/>
       
   562                             <arg value="${diamonds.build.id}"/>
       
   563                             <arg value="-f"/>
       
   564                             <arg value="${temp.build.dir}/bragForDiamonds.xml"/>
       
   565                         </exec>
   557                         </exec>
   566                     </then>
   558                     </then>
   567                     <else>
   559                     <else>
   568                         <echo message="diamonds.build.id is not known - unable to push any build specific information to diamonds server"/>
   560                         <echo message="diamonds.build.id is not known - unable to push any build specific information to diamonds server"/>
   569                     </else>
   561                     </else>