[jbosstools-commits] JBoss Tools SVN: r23073 - trunk/build.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Mon Jun 28 17:18:24 EDT 2010
Author: nickboldt
Date: 2010-06-28 17:18:24 -0400 (Mon, 28 Jun 2010)
New Revision: 23073
Modified:
trunk/build/publish.sh
Log:
add parsing of [ERROR] Fail...
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2010-06-28 21:00:51 UTC (rev 23072)
+++ trunk/build/publish.sh 2010-06-28 21:18:24 UTC (rev 23073)
@@ -67,6 +67,7 @@
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}
+sed -ne "/\[ERR/,+2 p" ${bl} | sed -e "/ROR\] Fai/,+2 s/\(.\+ROR\] Fai.\+\)/\n----------\n\n\1/g" >> ${el}
cnt=$(sed -ne "/ERR\|RROR/ p" ${el} | wc -l)
if [[ $cnt != "0" ]]; then
echo "" >> ${el}; echo -n "ERR" >> ${el}; echo "ORS FOUND: "$cnt >> ${el};
More information about the jbosstools-commits
mailing list