[Fai-commit] r5144 - people/michael/experimental

mt at alioth.debian.org mt at alioth.debian.org
Tue Sep 9 12:54:41 UTC 2008


Author: mt
Date: 2008-09-09 12:54:40 +0000 (Tue, 09 Sep 2008)
New Revision: 5144

Modified:
   people/michael/experimental/build-on-alioth
Log:
commits outside experimental shouldn't be considered failures


Modified: people/michael/experimental/build-on-alioth
===================================================================
--- people/michael/experimental/build-on-alioth	2008-09-09 12:34:59 UTC (rev 5143)
+++ people/michael/experimental/build-on-alioth	2008-09-09 12:54:40 UTC (rev 5144)
@@ -148,6 +148,8 @@
     fi
     REPLYTO="mt at debian.org" mail -s "FAI build of $REV failed!" -c mt at debian.org $who_did_it at alioth.debian.org < $log
   fi
+else
+  echo "STATUS: nothing to be done"
 fi
 
 echo "STATUS: build exit status $?"
@@ -160,7 +162,9 @@
 if ! grep -q "^STATUS: build exit status 0" $log ; then
   err_found=1
 elif ! grep -q "^STATUS: dpkg-buildpackage exited with status 0" $log ; then
-  err_found=1
+  if ! grep -q "^STATUS: nothing to be done" ; then
+    err_found=1
+  fi
 fi
 
 if [ $err_found -eq 1 ] ; then




More information about the Fai-commit mailing list