common/build.postbuild.xml
changeset 1109 befa266a0393
parent 1105 09255e80a1ec
child 1157 5fafe4f9fda8
equal deleted inserted replaced
1108:86b0bbaa517c 1109:befa266a0393
  1103     <!-- Transform BRAG xslt and display status at the end of the build -->
  1103     <!-- Transform BRAG xslt and display status at the end of the build -->
  1104     <target name="sf-build-summary">
  1104     <target name="sf-build-summary">
  1105     <delete dir="${build.drive}/output/logs/summary/">
  1105     <delete dir="${build.drive}/output/logs/summary/">
  1106       <include name="**/*.html"/>
  1106       <include name="**/*.html"/>
  1107     </delete>
  1107     </delete>
  1108      <xslt basedir="${build.drive}/output/logs/summary" destdir="${temp.build.dir}" extension=".html" style="."/>	
  1108      <xslt basedir="${build.drive}/output/logs/summary" destdir="${temp.build.dir}" extension=".html" style="brag.xsl"/>	
  1109     <loadfile srcFile="${temp.build.dir}/_BRAG.html" property="sf.brag.status">
  1109     <loadfile srcFile="${temp.build.dir}/_BRAG.html" property="sf.brag.status">
  1110     <filterchain>
  1110     <filterchain>
  1111       <linecontainsregexp>
  1111       <linecontainsregexp>
  1112         <regexp pattern="(BLACK|RED|AMBER|GREEN)"/>
  1112         <regexp pattern="(BLACK|RED|AMBER|GREEN)"/>
  1113       </linecontainsregexp>
  1113       </linecontainsregexp>
  1114 	  <trim/>
  1114 	  <trim/>
  1115       <striplinebreaks/>
  1115       <striplinebreaks/>
  1116       <deletecharacters chars="\&gt;\&lt;\h2\h1\/"/>
  1116       <deletecharacters chars="\&gt;\&lt;\h2\h1\/"/>
  1117     </filterchain>
  1117     </filterchain>
  1118     </loadfile>	
  1118     </loadfile>	
  1119     <echo message="BRAG STATUS: [${sf.brag.status}] - full build details available at ${build.drive}\output\logs\html\index.html"/>
  1119     <echo message="BRAG STATUS: [${sf.brag.status}] - full build details available at ${build.drive}\output\logs\summary\_BRAG.xml"/>
  1120 	</target>
  1120 	</target>
  1121 
  1121 
  1122 </project>
  1122 </project>