equal
deleted
inserted
replaced
509 <if> |
509 <if> |
510 <istrue value="${sf.spec.publish.enable}"/> |
510 <istrue value="${sf.spec.publish.enable}"/> |
511 <then> |
511 <then> |
512 <!-- Try to obtain the diamonds ID for this build --> |
512 <!-- Try to obtain the diamonds ID for this build --> |
513 <if> |
513 <if> |
514 <isset property="diamonds.build.id"/> |
514 <not><isset property="diamonds.build.id"/></not> |
515 <else> |
515 <then> |
516 <property file="${build.log.dir}/diamonds.build.id.properties"/> <!-- This will fail silently --> |
516 <property file="${build.log.dir}/diamonds_build_id.properties"/> <!-- This will fail silently --> |
517 </else> |
517 </then> |
518 </if> |
518 </if> |
519 <if> |
519 <if> |
520 <isset property="diamonds.build.id"/> |
520 <isset property="diamonds.build.id"/> |
521 <then> |
521 <then> |
522 <!-- Send the data to the server --> |
522 <!-- Send the data to the server --> |
523 <exec executable="python"> |
523 <exec executable="python"> |
524 <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/> |
524 <arg value="${sf.common.config.dir}/tools/brag/send_xml_to_diamonds.py"/> |
525 <arg value="-s"/> |
525 <arg value="-s"/> |
526 <arg value="${diamonds.host}"/> |
526 <arg value="${diamonds.host}"/> |
527 <arg value="-u"/> |
527 <arg value="-u"/> |
528 <arg value="/diamonds/builds/${diamonds.build.id}"/> |
528 <arg value="${diamonds.build.id}"/> |
529 <arg value="-f"/> |
529 <arg value="-f"/> |
530 <arg value="${temp.build.dir}/bragForDiamonds.xml"/> |
530 <arg value="${temp.build.dir}/bragForDiamonds.xml"/> |
531 </exec> |
531 </exec> |
532 </then> |
532 </then> |
533 <else> |
533 <else> |