You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2012/03/04 05:13:12 UTC

svn commit: r1296743 - /lucene/dev/nightly/common-maven.sh

Author: sarowe
Date: Sun Mar  4 04:13:12 2012
New Revision: 1296743

URL: http://svn.apache.org/viewvc?rev=1296743&view=rev
Log:
LUCENE-3825: preserve test results for Jenkins

Modified:
    lucene/dev/nightly/common-maven.sh

Modified: lucene/dev/nightly/common-maven.sh
URL: http://svn.apache.org/viewvc/lucene/dev/nightly/common-maven.sh?rev=1296743&r1=1296742&r2=1296743&view=diff
==============================================================================
--- lucene/dev/nightly/common-maven.sh (original)
+++ lucene/dev/nightly/common-maven.sh Sun Mar  4 04:13:12 2012
@@ -28,6 +28,11 @@ echo ">>> Running tests under Maven"
 JAVA_HOME=$JAVA_HOME_16 $M2_HOME/bin/mvn --batch-mode --fail-at-end test
 echo ">>> Done running tests under Maven"
 
+echo ">>> Preserving test results"
+mkdir saved-surefire-reports
+find . -type d -name surefire-reports -exec cp \{\}/*.xml saved-surefire-reports \;
+echo ">>> Done preserving test results"
+
 echo ">>> Deploying Maven snapshot artifacts to the Apache snapshots repository"
 ANT_OPTS="-Xmx256m -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=128M" \
     $ANT_HOME/bin/ant \