> If you make a tail -20 of log (and full log... pkzip & attach as file?)
:-)

We block those attachments, IIRC.  :-)  Besides, the full script is:

  #!/bin/sh
  #
  #
  (
   echo "To: JAMES Server Development <server-dev@james.apache.org>"
   echo "From: JAMES Nightly Build System <[EMAIL PROTECTED]>"
   echo "Subject: JAMES Server Nightly Build Report"
   echo

   export JAVA_HOME=/usr/local/java
   PATH=$PATH:$HOME/bin
   export PATH
   cd ~/ASF/james/server/trunk
   rm -rf dist/*
   echo --------------------------------------------------------------------
   echo Updating From Source Control
   echo --------------------------------------------------------------------
   svn revert -R .
   svn up
   echo --------------------------------------------------------------------
   echo Do a Clean Build with Unit Tests and Distribution Packages
   echo --------------------------------------------------------------------
   ant -Ddeprecation=off dist
   echo --------------------------------------------------------------------
   echo Done.  Packages Will Be Uploaded To The Nightly Repository.
   echo --------------------------------------------------------------------
  ) 2>&1 | /home/noel/ASF/sendmail.py -f [EMAIL PROTECTED] -t

  if [ -d ~/ASF/james/server/trunk/dist/*/downloads ]; then
    cd ~/ASF/james/server/trunk/dist/*/downloads
    rsync -rlpvz --delete --exclude HEADER.html -e ssh .
people.apache.org:/www/people.apache.org/builds/james/nightly/
  fi

  exit 0

So to do what you suggest would require changing the nightly build script
along the lines of
http://lists.freebsd.org/pipermail/freebsd-questions/2005-April/083518.html
or http://fedora-tn.org/?q=node/72.

An alternative would be to enhance our sendmail script to support the
attachment commands found in mutt and metamail (q.v.
http://www.shelldorado.com/articles/mailattachments.html).  Anyone up to do
that work?  If so, please remember to change the message subject when
replying.

        --- Noel



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to