[Anthill-pro] old buildlife code on agent disk
Buschmann, Peter D
buschma at uhc.com
Fri Oct 23 09:42:08 CDT 2009
We run ours as an AHP job, and it has worked fine.
________________________________
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of emerson
cargnin
Sent: Friday, October 23, 2009 4:38 AM
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] old buildlife code on agent disk
Right, we did the same, I was wondering if there would be any
implications for running this through the agent itself.
2009/10/21 Buschmann, Peter D <buschma at uhc.com>
Yes, we wrote a perl script. Two scripts, actually. One writes
information to a file, and the second steps through the file and deletes
the designated directories (and their contents).
Essentially, the first script steps through the subdirs of a
given directory, and returns the name of each subdirectory along with
the date of the most recent file within it. (To save some time, if it
encounters a file that is less than 'x' days old, it labels the
directory "recent" and doesn't bother to check the remaining files.)
The second script ignores the directories labeled recent, and
deletes the others.
Peter
________________________________
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of emerson
cargnin
Sent: Wednesday, October 21, 2009 4:52 AM
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] old buildlife code on agent disk
In addition to archiving, we run a job that identifies
and deletes build working directories that haven't been modified in some
number of days, to handle agent directory cleanup for builds on old
branches and the like.
Peter
Hi Peter
You use a custom script for that?
emerson
________________________________
From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Wright,
Cameron
Sent: Tuesday, October 20, 2009 2:25 PM
To: AnthillPro user and support list.
Subject: [Anthill-pro] old buildlife code on agent disk
On my agent boxes I am getting a bunch of old buildlife
directories with 'leftovers'.
Does the archive job clean the working dir of old src
and artifacts?
How do others manage to keep their disk clean?
Cameron David Wright
ADP TCS - US Development
Mobile: 678-551-CDSW (2379)
Office: 678-742-2295
________________________________
_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20091023/d7588926/attachment-0001.htm
More information about the Anthill-pro
mailing list