hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r614137 - in /lucene/hadoop/nightly: hudsonBuildHadoopPatch.sh hudsonPatchQueueAdmin.sh processHadoopPatchEmail.sh
Date Tue, 22 Jan 2008 08:10:09 GMT
Author: nigel
Date: Tue Jan 22 00:10:07 2008
New Revision: 614137

URL: http://svn.apache.org/viewvc?rev=614137&view=rev
Log:
update tools locations in hudson build scripts

Modified:
    lucene/hadoop/nightly/hudsonBuildHadoopPatch.sh
    lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh
    lucene/hadoop/nightly/processHadoopPatchEmail.sh

Modified: lucene/hadoop/nightly/hudsonBuildHadoopPatch.sh
URL: http://svn.apache.org/viewvc/lucene/hadoop/nightly/hudsonBuildHadoopPatch.sh?rev=614137&r1=614136&r2=614137&view=diff
==============================================================================
--- lucene/hadoop/nightly/hudsonBuildHadoopPatch.sh (original)
+++ lucene/hadoop/nightly/hudsonBuildHadoopPatch.sh Tue Jan 22 00:10:07 2008
@@ -14,9 +14,9 @@
 ### Setup some variables.  
 ### JOB_NAME, SVN_REVISION, BUILD_ID, BUILD_NUMBER, and WORKSPACE are set by Hudson
 SVN=/opt/subversion-current/bin/svn
-GREP=/usr/local/bin/grep
+GREP=/export/home/nigel/tools/grep/bin/grep
 WGET=/usr/sfw/bin/wget
-PATCH=/usr/local/bin/patch
+PATCH=/usr/bin/patch
 PS=/usr/ucb/ps
 JIRA=/export/home/nigel/tools/jira_cli/src/cli/jira
 FINDBUGS_HOME=/export/home/nigel/tools/findbugs/latest

Modified: lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh
URL: http://svn.apache.org/viewvc/lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh?rev=614137&r1=614136&r2=614137&view=diff
==============================================================================
--- lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh (original)
+++ lucene/hadoop/nightly/hudsonPatchQueueAdmin.sh Tue Jan 22 00:10:07 2008
@@ -10,6 +10,8 @@
 ### The complete URL to trigger a build.
 TRIGGER_BUILD_URL=$3
 
+WGET=/usr/sfw/bin/wget
+
 QUEUE_HTML_FILE=`pwd`/${PROJECT}_PatchQueue.html
 CURRENT_DIR=${QUEUE_DIR}/current
 
@@ -25,7 +27,7 @@
     mv $CURRENT_PATCH $CURRENT_DIR
     ### Start build.
     echo "$CURRENT_PATCH patch submitted for testing at `date`"
-    /usr/sfw/bin/wget -q -O $CURRENT_DIR/build $TRIGGER_BUILD_URL
+    $WGET -q -O $CURRENT_DIR/build $TRIGGER_BUILD_URL
     chmod -R g+w $CURRENT_DIR
   else
     CURRENT_PATCH="none"

Modified: lucene/hadoop/nightly/processHadoopPatchEmail.sh
URL: http://svn.apache.org/viewvc/lucene/hadoop/nightly/processHadoopPatchEmail.sh?rev=614137&r1=614136&r2=614137&view=diff
==============================================================================
--- lucene/hadoop/nightly/processHadoopPatchEmail.sh (original)
+++ lucene/hadoop/nightly/processHadoopPatchEmail.sh Tue Jan 22 00:10:07 2008
@@ -8,17 +8,18 @@
 ### writable by this process.
 QUEUE_DIR=$2
 
+GREP=/export/home/nigel/tools/grep/bin/grep
 LOG=$QUEUE_DIR/log.txt
 
 ### Scan email
 while read line
 do
   ### Check to see if this issue was just made "Patch Available"
-  if [[ `echo $line | /usr/local/bin/grep -c "Status: Patch Available"` == 1 ]] ; then
+  if [[ `echo $line | $GREP -c "Status: Patch Available"` == 1 ]] ; then
     patch=true
   fi
   ### Look for issue number
-  if [[ `echo $line | /usr/local/bin/grep -c "Key: $PROJECT-"` == 1 ]] ; then
+  if [[ `echo $line | $GREP -c "Key: $PROJECT-"` == 1 ]] ; then
     defect=`expr "$line" : '.*\($PROJECT-[0-9]*\)'`
     break
   fi
@@ -35,6 +36,6 @@
 
   ### Since this script is run by the 'daemon' user by sendmail,
   ### make sure everything it creates is group writable
-  chmod -R g+w $QUEUE_DIR/$defect
+  chmod -R a+w $QUEUE_DIR/$defect
 fi
 exit 0



Mime
View raw message