lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uschind...@apache.org
Subject svn commit: r1098261 - in /lucene/dev/nightly: hudson-lucene-trunk.sh hudson-settings.sh hudson-solr-3.x.sh hudson-solr-trunk.sh
Date Sun, 01 May 2011 11:27:17 GMT
Author: uschindler
Date: Sun May  1 11:27:17 2011
New Revision: 1098261

URL: http://svn.apache.org/viewvc?rev=1098261&view=rev
Log:
generate dumps everywhere into a separate folder. I will add this folder to artifacts dirs,
so they will be archived by hudson together with the build.

Modified:
    lucene/dev/nightly/hudson-lucene-trunk.sh
    lucene/dev/nightly/hudson-settings.sh
    lucene/dev/nightly/hudson-solr-3.x.sh
    lucene/dev/nightly/hudson-solr-trunk.sh

Modified: lucene/dev/nightly/hudson-lucene-trunk.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-lucene-trunk.sh?rev=1098261&r1=1098260&r2=1098261&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-lucene-trunk.sh (original)
+++ lucene/dev/nightly/hudson-lucene-trunk.sh Sun May  1 11:27:17 2011
@@ -51,6 +51,7 @@ JAVA_HOME=$JAVA_HOME_16 $ANT_HOME/bin/an
   -Dtests.multiplier=$TESTS_MULTIPLIER \
   -Dtests.nightly=true \
   -Dtests.linedocsfile=$TEST_LINE_DOCS_FILE \
+  -Dargs="$TEST_JVM_ARGS" \
   test
 
 #Rerun testsuite with clover on

Modified: lucene/dev/nightly/hudson-settings.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-settings.sh?rev=1098261&r1=1098260&r2=1098261&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-settings.sh (original)
+++ lucene/dev/nightly/hudson-settings.sh Sun May  1 11:27:17 2011
@@ -19,11 +19,12 @@ SOLR_DIR=$ROOT_DIR/solr
 
 ARTIFACTS=$WORKSPACE/artifacts
 JAVADOCS_ARTIFACTS=$WORKSPACE/javadocs
+DUMP_DIR=$WORKSPACE/heapdumps
 
 #config:
 TESTS_MULTIPLIER=3
 TEST_LINE_DOCS_FILE=$HOME/lucene-data/enwiki.random.lines.txt.gz
-TEST_JVM_ARGS="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$WORKSPACE/$CORE_DIR/build/"
+TEST_JVM_ARGS="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$DUMP_DIR/"
 
 #do some checks that are common to all build scripts:
 set +x
@@ -41,3 +42,6 @@ cd $WORKSPACE
 set -e
 
 set -x
+
+mkdir -p $DUMP_DIR
+rm -rf $DUMP_DIR/*

Modified: lucene/dev/nightly/hudson-solr-3.x.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-solr-3.x.sh?rev=1098261&r1=1098260&r2=1098261&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-solr-3.x.sh (original)
+++ lucene/dev/nightly/hudson-solr-3.x.sh Sun May  1 11:27:17 2011
@@ -22,6 +22,7 @@ JAVA_HOME=$JAVA_HOME_16 $ANT_HOME/bin/an
   -Dtests.threadspercpu=0 \
   -Dtests.nightly=true \
   -Djunit.formatter=xml \
+  -Dargs="$TEST_JVM_ARGS" \
   test
 
 # release it
@@ -43,4 +44,5 @@ JAVA_HOME=$JAVA_HOME_16 ANT_OPTS="-Xmx89
   -Dsvnversion.exe=$SVNVERSION_EXE \
   -Dtests.threadspercpu=0 \
   -Djunit.formatter=xml \
+  -Dargs="$TEST_JVM_ARGS" \
   clean-dest clover test generate-clover-reports

Modified: lucene/dev/nightly/hudson-solr-trunk.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/hudson-solr-trunk.sh?rev=1098261&r1=1098260&r2=1098261&view=diff
==============================================================================
--- lucene/dev/nightly/hudson-solr-trunk.sh (original)
+++ lucene/dev/nightly/hudson-solr-trunk.sh Sun May  1 11:27:17 2011
@@ -18,6 +18,7 @@ $ANT_HOME/bin/ant \
   -Dtests.threadspercpu=0 \
   -Dtests.nightly=true \
   -Djunit.formatter=xml \
+  -Dargs="$TEST_JVM_ARGS" \
   clean set-fsdir test package
 
 # release it
@@ -39,4 +40,5 @@ ANT_OPTS="-Xmx896M" $ANT_HOME/bin/ant \
   -Dsvnversion.exe=$SVNVERSION_EXE \
   -Dtests.threadspercpu=0 \
   -Djunit.formatter=xml \
+  -Dargs="$TEST_JVM_ARGS" \
   clean-dest clover test generate-clover-reports



Mime
View raw message