commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r429592 - /jakarta/commons/proper/commons-build/trunk/commons_nightly.sh
Date Tue, 08 Aug 2006 05:56:53 GMT
Author: psteitz
Date: Mon Aug  7 22:56:53 2006
New Revision: 429592

URL: http://svn.apache.org/viewvc?rev=429592&view=rev
Log:
Capture unit test logs when maven builds fail.

Modified:
    jakarta/commons/proper/commons-build/trunk/commons_nightly.sh

Modified: jakarta/commons/proper/commons-build/trunk/commons_nightly.sh
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-build/trunk/commons_nightly.sh?rev=429592&r1=429591&r2=429592&view=diff
==============================================================================
--- jakarta/commons/proper/commons-build/trunk/commons_nightly.sh (original)
+++ jakarta/commons/proper/commons-build/trunk/commons_nightly.sh Mon Aug  7 22:56:53 2006
@@ -100,8 +100,12 @@
 
       # Make files group writable 
       ssh $maven_snapshot_host chmod -R g+w ${maven_snapshot_directory}/commons-$component
-    else # build failed - add to failure list
+    else # build failed - add to failure list and capture unit test logs
       failed_builds[${#failed_builds[@]}]=$component
+      echo "Test Reports" >> $log_location/$component.log
+      for i in "target/test-reports/*.txt"; do
+        cat $i >> $log_location/$component.log
+      done
     fi
 
     # Cleanup



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message