You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2009/09/02 22:18:27 UTC

svn commit: r810692 - /spamassassin/trunk/build/hudson/run_build

Author: jm
Date: Wed Sep  2 20:18:26 2009
New Revision: 810692

URL: http://svn.apache.org/viewvc?rev=810692&view=rev
Log:
doh, attempt to catch lint failures in Hudson was broken

Modified:
    spamassassin/trunk/build/hudson/run_build

Modified: spamassassin/trunk/build/hudson/run_build
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/hudson/run_build?rev=810692&r1=810691&r2=810692&view=diff
==============================================================================
--- spamassassin/trunk/build/hudson/run_build (original)
+++ spamassassin/trunk/build/hudson/run_build Wed Sep  2 20:18:26 2009
@@ -10,9 +10,11 @@
 perl Makefile.PL < /dev/null
 make
 
+# ensure a lint failure generates shouty mails to the dev list
 rm rules/70_sandbox.cf
-if make build_rules | grep "LINT FAILED" ; then 
-  exit 1        # this will force a mail to the dev list with "build failed"
+make build_rules > make.log 2>&1
+if grep "ERROR:" make.log ; then 
+  exit 2
 else
   true
 fi