[Buildbot-devel] Fix the permissions before starting a new build

Robert Echlin rechlin at espial.com
Mon Mar 5 14:33:20 UTC 2007

Hi, Benoit,
Another option would be to run the distcheck in a shell script rather
than from buildbot directly. Then you could check the results of the
distcheck yourself, and cleanup accordingly. You could check for the
existence of the final output files, or it might be useful to check the
return value of the distcheck command itself, by checking the value of
$?, right after running the distcheck command. 


Rob Echlin
Software Development Environment Prime
Espial IPTV


-----Original Message-----
From: buildbot-devel-bounces at lists.sourceforge.net
[mailto:buildbot-devel-bounces at lists.sourceforge.net] On Behalf Of
Benoit Sigoure
Sent: Saturday, March 03, 2007 3:43 PM
To: buildbot-devel at lists.sourceforge.net
Subject: [Buildbot-devel] Fix the permissions before starting a new


I use the BuildBot mostly in mode=copy for my SVN checkout step, and
when a build fails in the middle of a distcheck, the `build' directory
cannot be
removed by the BuildBot because the source tree produced by the
autotools during
the distcheck is read-only (which is normal).

It would be great if BuildBot could chmod -R u+w the build directory
removing it. Actually I'm doing this manually by adding a build step
before the
checkout step, but I guess that many projects will end up with the same
so why not just change this in the BuildBot? :)


SIGOURE Benoit aka Tsuna
  /EPITA\ Promo 2008, LRDE

More information about the devel mailing list