You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2006/11/28 06:33:44 UTC
svn commit: r479915 -
/jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh
Author: bayard
Date: Mon Nov 27 21:33:43 2006
New Revision: 479915
URL: http://svn.apache.org/viewvc?view=rev&rev=479915
Log:
Add automatic cleanup of the local archives to the end of the nightly script
Modified:
jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh
Modified: jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh?view=diff&rev=479915&r1=479914&r2=479915
==============================================================================
--- jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh (original)
+++ jakarta/commons/proper/commons-nightly/trunk/commons_nightly.sh Mon Nov 27 21:33:43 2006
@@ -464,4 +464,11 @@
tar -cf maven-${time_stamp}.tar maven
cd -
+
+# cleanup local archives
+find ${local_deploy_path}/maven -mtime +6 -exec rm \{\} \;
+find ${local_deploy_path}/builds -mtime +6 -exec rm \{\} \;
+# TODO: Cleanup logs
+# TODO: Cleanup m2 repository on people.apache.org - or keep the current cron there?
+
exit 0
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org