[Buildbot-devel] custom checkout command run in shell

Fabian Sturm f at rtfs.org
Tue Nov 21 18:51:32 UTC 2006


Hi!


On Tue, 2006-11-21 at 12:08 +0100, Benoit Sigoure wrote:

> I'm also interested to know because I can't get it to work.
> I also have an empty string. Moreover, you can't use WithProperties to 
> construct
> a single string for the command (which leads the buildbot to execute 
> that string

Well I got it somehow working.

What I did was that I added a new SourceBase in the file slave/commands
which takes the revision from the first change and calls a shell script
with it. Just copy the git example and modify it a little bit.

Sine the VC step is the only one who really needs the revision
information anyway, it is enough for me.

Next you have to disable the automatic merge of the different changes.
Since you want to build each change on its own.

This I think can be done in the file sourcestamp.py where I you can
change the 
if self.changes and other.changes 
  return True 


to return false.

Hope that helps, and hope someone can verify my assumptions.

thanks a lot, Fabian





More information about the devel mailing list