lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r372338 - in /lucene/java/nightly: ./ nightly.cron nightly.properties nightly.sh
Date Wed, 25 Jan 2006 22:15:00 GMT
Author: cutting
Date: Wed Jan 25 14:14:58 2006
New Revision: 372338

URL: http://svn.apache.org/viewcvs?rev=372338&view=rev
Log:
First version of Lucene nightly scripts.

Added:
    lucene/java/nightly/
    lucene/java/nightly/nightly.cron
    lucene/java/nightly/nightly.properties
    lucene/java/nightly/nightly.sh   (with props)

Added: lucene/java/nightly/nightly.cron
URL: http://svn.apache.org/viewcvs/lucene/java/nightly/nightly.cron?rev=372338&view=auto
==============================================================================
--- lucene/java/nightly/nightly.cron (added)
+++ lucene/java/nightly/nightly.cron Wed Jan 25 14:14:58 2006
@@ -0,0 +1,4 @@
+# nightly crontab file
+# install with: crontab nightly.cron
+# run seventeen minutes after midnight, every day
+17 0 * * *       $HOME/nutch-nightly/nightly.sh > $HOME/nutch-nightly/nightly.log 2>&1

Added: lucene/java/nightly/nightly.properties
URL: http://svn.apache.org/viewcvs/lucene/java/nightly/nightly.properties?rev=372338&view=auto
==============================================================================
--- lucene/java/nightly/nightly.properties (added)
+++ lucene/java/nightly/nightly.properties Wed Jan 25 14:14:58 2006
@@ -0,0 +1,5 @@
+MailLogger.mailhost = mail.apache.org
+MailLogger.from = nutch-dev@incubator.apache.org
+MailLogger.failure.to = nutch-dev@incubator.apache.org
+MailLogger.failure.subject = Nutch nightly build failure
+MailLogger.success.notify = false

Added: lucene/java/nightly/nightly.sh
URL: http://svn.apache.org/viewcvs/lucene/java/nightly/nightly.sh?rev=372338&view=auto
==============================================================================
--- lucene/java/nightly/nightly.sh (added)
+++ lucene/java/nightly/nightly.sh Wed Jan 25 14:14:58 2006
@@ -0,0 +1,28 @@
+#!/bin/bash -vx
+
+export JAVA_HOME=/usr/j2se
+
+TRUNK=http://svn.apache.org/repos/asf/lucene/nutch/trunk
+
+REL_SERVER=people.apache.org
+REL_DIR=/www/cvs.apache.org/dist/lucene/nutch/nightly
+
+# create an empty build directory
+rm -rf /tmp/nutch-nightly
+cd /tmp
+
+# export sources into it
+$HOME/bin/svn export $TRUNK nutch-nightly
+
+# run build
+cd nutch-nightly
+$HOME/bin/ant \
+ -propertyfile $HOME/nutch-nightly/nightly.properties \
+ -logger org.apache.tools.ant.listener.MailLogger \
+ -Dversion=nightly nightly
+
+# release it
+scp build/*.tar.gz $REL_SERVER:$REL_DIR/nutch-`/bin/date +%F`.tar.gz
+
+# remove all but five newest builds
+ssh $REL_SERVER rm `ssh $REL_SERVER find $REL_DIR -type f | sort -r | tail +5`

Propchange: lucene/java/nightly/nightly.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message