hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r614142 - in /lucene/hadoop/nightly: hudsonBuildHadoopPatch.sh processHadoopPatchEmail.sh
Date Tue, 22 Jan 2008 08:27:37 GMT
Author: nigel
Date: Tue Jan 22 00:27:34 2008
New Revision: 614142

URL: http://svn.apache.org/viewvc?rev=614142&view=rev
Log:
fix bug in hudson scripts

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

Modified: lucene/hadoop/nightly/hudsonBuildHadoopPatch.sh
URL: http://svn.apache.org/viewvc/lucene/hadoop/nightly/hudsonBuildHadoopPatch.sh?rev=614142&r1=614141&r2=614142&view=diff
==============================================================================
--- lucene/hadoop/nightly/hudsonBuildHadoopPatch.sh (original)
+++ lucene/hadoop/nightly/hudsonBuildHadoopPatch.sh Tue Jan 22 00:27:34 2008
@@ -406,8 +406,7 @@
 checkout
 RESULT=$?
 if [[ $? != 0 ]] ; then
-  ### Resubmit build.  The 'token' is a secret.
-  token=`cat ~hudson/private/hudsonBuildToken`
+  ### Resubmit build.
   $WGET -q -O $PATCH_DIR/build $TRIGGER_BUILD_URL
   exit 100
 fi

Modified: lucene/hadoop/nightly/processHadoopPatchEmail.sh
URL: http://svn.apache.org/viewvc/lucene/hadoop/nightly/processHadoopPatchEmail.sh?rev=614142&r1=614141&r2=614142&view=diff
==============================================================================
--- lucene/hadoop/nightly/processHadoopPatchEmail.sh (original)
+++ lucene/hadoop/nightly/processHadoopPatchEmail.sh Tue Jan 22 00:27:34 2008
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-#set -x
+set -x
 
 ### The Jira project name.  Examples: HADOOP or RIVER or LUCENE
 PROJECT=$1
@@ -20,7 +20,7 @@
   fi
   ### Look for issue number
   if [[ `echo $line | $GREP -c "Key: $PROJECT-"` == 1 ]] ; then
-    defect=`expr "$line" : '.*\($PROJECT-[0-9]*\)'`
+    defect=`expr "$line" : ".*\(${PROJECT}-[0-9]*\)"`
     break
   fi
 done



Mime
View raw message