Hi,
looking at the nightly builds I noticed they
are accumulating:
http://gridlock.openplans.org/geoserver/1.7.x/
I guess we need to add something at the end of the
script that kills everything older than x days.
Arne suggested something along the lines of:
find $dist -mtime +6 -exec -rf {} \;
which will catch and wipe out any directory and
file that is more than 6 days old.
Alternatively we could use something like (beware,
this one comes from me, not as experienced as Arne):
rm -f `ls -t $dist/geoserver*bin.zip | tail -n +6`
(and repeat for the war and ext directories)
that will remove any file older than the most
recent 6.
They are a bit different in that the first
will start cleaning up the directory even in case
of a build block, so if the build has been stuck
for a number of days we'll end up having there just
the latest build.
What do you think?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel