[Buildbot-devel] How to make a sudo remove to working directory
Dustin J. Mitchell
dustin at v.igoro.us
Fri Dec 30 06:27:02 UTC 2011
On Wed, Dec 21, 2011 at 9:36 AM, Burak Yilmazturk
<yilmazturkburak at gmail.com> wrote:
> I want to use buildbot in nightly concept, so every night I want to begin
> each build with a fresh working copy. I use clobber mode on svn to get a
> fresh copy of my project and it uses “rm --rf ” to remove working directory,
> but in somewhere of our build process some files created with sudo, so I get
> a "can not remove" error in svn step of nightly build, What could be the
> easiest way to remove those files?
You'll probably need to add a similar 'sudo rm -rf' -- either as a
cleanup step *after* your build runs, or better, as a step before the
Source step.
Dustin
More information about the devel
mailing list