[Buildbot-devel] Trigger specific buildbot slaves using svn_watcher.py

Charles Lepple clepple at gmail.com
Sun Jun 20 14:47:24 UTC 2010


On Jun 20, 2010, at 10:19 AM, Nick Bolton wrote:

> We're calling contrib/svn_watcher.py like so:
>
>   svn_watcher.py -i 1 --watch http://synergy-plus.googlecode.com/svn
> localhost:9989
>
> Just thinking out loud; maybe we need to run a watcher for each  
> branch?

You could run one per branch, but what is happening here is that the  
default svn_watcher.py is not giving the Buildbot schedulers any  
information on the branch where the change was made.

The SVNPoller class allows you to describe your particular URL  
structure (e.g. trunk/, branches/<branch_name>) via the split_file  
parameter:

     http://djmitche.github.com/buildbot/docs/latest/SVNPoller.html#SVNPoller

Once the change knows about the branch name, then the branch-related  
parameters to the Schedulers will have an effect:

     http://djmitche.github.com/buildbot/docs/latest/Scheduler-Scheduler.html






More information about the devel mailing list