Move addition of link to Hudson console log at the beginning of the build, so that if the build fails there is a better chance that the link is available
authorDario Sestito <darios@symbian.org>
Fri, 01 Oct 2010 14:00:40 +0100
changeset 1243 5a935138ebeb
parent 1242 b5003eee1583
child 1244 fdcfee9c5b0d
Move addition of link to Hudson console log at the beginning of the build, so that if the build fails there is a better chance that the link is available
common/build.postbuild.xml
common/build.xml
--- a/common/build.postbuild.xml	Fri Oct 01 13:34:48 2010 +0100
+++ b/common/build.postbuild.xml	Fri Oct 01 14:00:40 2010 +0100
@@ -797,7 +797,6 @@
       <echo message="report&#x0009;Raptor Build Summary,http://cdn.symbian.org/SF_builds/${sf.spec.job.name}/builds/${sf.spec.job.codeline}/${build.id}/html/index.html,report${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
       <echo message="report&#x0009;Build BOM,http://cdn.symbian.org/SF_builds/${sf.spec.job.name}/builds/${sf.spec.job.codeline}/${build.id}/build_BOM.zip,file${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
       <echo message="report&#x0009;Build Logs,http://cdn.symbian.org/SF_builds/${sf.spec.job.name}/builds/${sf.spec.job.codeline}/${build.id}/build_logs.zip,file${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><and><equals arg1="${sf.spec.smoketest.enable}" arg2="true"/><equals arg1="${sf.spec.ats.version}" arg2="ats3"/></and><then>
         <echo message="report&#x0009;Smoke Test Report,http://cdn.symbian.org/SF_builds/${sf.spec.job.name}/builds/${sf.spec.job.codeline}/${build.id}/ats_reports/ATS3Report.html,report${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/>
       </then></if>
--- a/common/build.xml	Fri Oct 01 13:34:48 2010 +0100
+++ b/common/build.xml	Fri Oct 01 14:00:40 2010 +0100
@@ -296,6 +296,7 @@
           <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"/>
     </target>
     
     <target name="sf-diamonds-connect">