hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r613321 - /lucene/hadoop/nightly/hudsonBuildHadoopNightly.sh
Date Sat, 19 Jan 2008 00:16:37 GMT
Author: nigel
Date: Fri Jan 18 16:16:36 2008
New Revision: 613321

URL: http://svn.apache.org/viewvc?rev=613321&view=rev
Log:
parameterized nightly build script

Modified:
    lucene/hadoop/nightly/hudsonBuildHadoopNightly.sh

Modified: lucene/hadoop/nightly/hudsonBuildHadoopNightly.sh
URL: http://svn.apache.org/viewvc/lucene/hadoop/nightly/hudsonBuildHadoopNightly.sh?rev=613321&r1=613320&r2=613321&view=diff
==============================================================================
--- lucene/hadoop/nightly/hudsonBuildHadoopNightly.sh (original)
+++ lucene/hadoop/nightly/hudsonBuildHadoopNightly.sh Fri Jan 18 16:16:36 2008
@@ -1,13 +1,14 @@
 #!/bin/bash
 
+ANT_HOME=$1
+FORREST_HOME=$2
+FINDBUGS_HOME=$3
+SUPPORT_LIB_DIR=$4
+
 #set -x
 
 ### BUILD_ID is set by Hudson
-baseDir=/export/home/hudson/hudson/jobs/Hadoop-Nightly
-trunk=$baseDir/workspace/trunk
-
-FORREST_HOME=$HUDSON_HOME/../tools/forrest/latest
-FINDBUGS_HOME=$HUDSON_HOME/../tools/findbugs/latest
+trunk=`pwd`/trunk
 
 cd $trunk
 
@@ -27,7 +28,7 @@
 $ANT_HOME/bin/ant clean
 
 ### Copy in any supporting jar files needed by this process
-cp -r $baseDir/lib/* ./lib
+cp -r $SUPPORT_LIB_DIR/* ./lib
 
 ### run checkstyle and tests with clover
 $ANT_HOME/bin/ant -Dversion=$BUILD_ID -Drun.clover=true -Dtest.junit.output.format=xml -Dtest.output=yes
-Dcompile.c++=yes checkstyle create-c++-configure test generate-clover-reports 



Mime
View raw message