[jbosstools-commits] JBoss Tools SVN: r23062 - trunk/build.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Jun 28 10:44:46 EDT 2010


Author: nickboldt
Date: 2010-06-28 10:44:46 -0400 (Mon, 28 Jun 2010)
New Revision: 23062

Modified:
   trunk/build/publish.sh
Log:
fix publish

Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh	2010-06-28 14:17:39 UTC (rev 23061)
+++ trunk/build/publish.sh	2010-06-28 14:44:46 UTC (rev 23062)
@@ -61,13 +61,13 @@
 
 fl=${WORKSPACE}/site/${JOB_NAME}/FAIL_LOG.txt
 sed -ne "/<<< FAI/,+9 p" ${bl} | sed -e "/AILURE/,+9 s/\(.\+AILURE.\+\)/\n----------\n\n\1/g" > ${fl}
-cnt=$(sed -ne "/FAI\|LURE/" ${fl} | wc -l)
+cnt=$(sed -ne "/FAI\|LURE/ p" ${fl} | wc -l)
 if [[ $cnt != "0" ]]; then
 	echo "" >> ${fl}; echo -n "FAI" >> ${fl}; echo -n "LURES FOUND: "$cnt >> ${fl};
 fi 
 el=${WORKSPACE}/site/${JOB_NAME}/ERRORLOG.txt
 sed -ne "/<<< ERR/,+9 p" ${bl} | sed -e "/RROR/,+9 s/\(.\+RROR.\+\)/\n----------\n\n\1/g" > ${el}
-cnt=$(sed -ne "/ERR\|RROR/" ${el} | wc -l) 
+cnt=$(sed -ne "/ERR\|RROR/ p" ${el} | wc -l) 
 if [[ $cnt != "0" ]]; then
 	echo "" >> ${el}; echo -n "ERR" >> ${el}; echo "RORS FOUND: "$cnt >> ${el};
 fi



More information about the jbosstools-commits mailing list