You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2010/11/01 06:02:14 UTC

svn commit: r1029555 - /incubator/hama/nightly/hudsonBuildHamaPatch.sh

Author: edwardyoon
Date: Mon Nov  1 05:02:14 2010
New Revision: 1029555

URL: http://svn.apache.org/viewvc?rev=1029555&view=rev
Log:
Fixed wrong paths in patch build script

Modified:
    incubator/hama/nightly/hudsonBuildHamaPatch.sh

Modified: incubator/hama/nightly/hudsonBuildHamaPatch.sh
URL: http://svn.apache.org/viewvc/incubator/hama/nightly/hudsonBuildHamaPatch.sh?rev=1029555&r1=1029554&r2=1029555&view=diff
==============================================================================
--- incubator/hama/nightly/hudsonBuildHamaPatch.sh (original)
+++ incubator/hama/nightly/hudsonBuildHamaPatch.sh Mon Nov  1 05:02:14 2010
@@ -20,11 +20,12 @@ JIRA_PASSWD=$4
 SVN=/opt/subversion-current/bin/svn
 PS=/usr/ucb/ps
 WGET=/usr/sfw/bin/wget
-GREP=/export/home/nigel/tools/grep/bin/grep
-PATCH=/export/home/nigel/tools/patch/bin/patch
-JIRA=/export/home/nigel/tools/jira_cli/src/cli/jira
-FINDBUGS_HOME=/export/home/nigel/tools/findbugs/latest
-FORREST_HOME=/export/home/nigel/tools/forrest/latest
+GREP=/export/home/edwardyoon/tools/grep/bin/grep
+PATCH=/export/home/edwardyoon/tools/patch/bin/patch
+JIRA=/export/home/edwardyoon/tools/jira_cli/src/cli/jira
+FINDBUGS_HOME=/export/home/edwardyoon/tools/findbugs/latest
+FORREST_HOME=/export/home/edwardyoon/tools/forrest/latest
+ANT_HOME=/home/hudson/tools/ant/latest
 
 ###############################################################################
 checkout () {
@@ -179,8 +180,8 @@ checkJavadocWarnings () {
   echo "======================================================================"
   echo ""
   echo ""
-  $ANT_HOME/bin/ant -Dversion=${SVN_REVISION}_${defect}_PATCH-${patchNum} -DHamaPatchProcess= clean javadoc
-  javadocWarnings=`$GREP -c '\[javadoc\] [0-9]* warning' $WORKSPACE/../builds/$BUILD_ID/log`
+  $ANT_HOME/bin/ant -Dversion=${SVN_REVISION}_${defect}_PATCH-${patchNum} -DHamaPatchProcess= clean javadoc &> $PATCH_DIR/patchJavadocWarnings.txt 
+  javadocWarnings=`$GREP -c '\[javadoc\] [0-9]* warning' $PATCH_DIR/patchJavadocWarnings.txt`
   echo ""
   echo ""
   echo "There appear to be $javadocWarnings javadoc warnings generated by the patched build."