Fix: Link to Hudson console for platform builds in BIT points to wrong Hudson
authorDario Sestito <darios@symbian.org>
Wed, 06 Oct 2010 17:01:33 +0100
changeset 1255 e327203f186d
parent 1254 7ad2f93c7666
child 1256 de3bf79206c8
Fix: Link to Hudson console for platform builds in BIT points to wrong Hudson
common/build.xml
--- a/common/build.xml	Wed Oct 06 15:50:01 2010 +0100
+++ b/common/build.xml	Wed Oct 06 17:01:33 2010 +0100
@@ -296,7 +296,11 @@
           <format property="sf.build.starttime" pattern="yyyy-MM-dd HH:mm:ss" locale="en,UK"/>
         </tstamp>
         <echo message="started&#x0009;${sf.build.starttime}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
-        <echo message="report&#x0009;Hudson Console Log (internal link),http://v800016.ad-sfpd.intra:8080/job/${sf.spec.job.name}/${env.BUILD_NUMBER}/console,link${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
+        <if><equals arg1="${sf.project.type}" arg2="package"/><then>
+          <echo message="report&#x0009;Hudson Console Log (internal link),http://v800016.ad-sfpd.intra:8080/job/${sf.spec.job.name}/${env.BUILD_NUMBER}/console,link${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
+        </then><else>
+          <echo message="report&#x0009;Hudson Console Log (internal link),http://v800002.ad-sfpd.intra:8080/job/Platform_sf/${env.BUILD_NUMBER}/console,link${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
+        </else></if>
     </target>
     
     <target name="sf-diamonds-connect">