changeset 135:7ab38166e65e

add at least hg sources into the master.cfg (template)
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 24 Jan 2011 10:33:34 -0800
parents a67fb62c04a6
children 336702f58075
files autobot/template/master/master.cfg
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/autobot/template/master/master.cfg	Mon Jan 24 10:21:07 2011 -0800
+++ b/autobot/template/master/master.cfg	Mon Jan 24 10:33:34 2011 -0800
@@ -62,6 +62,16 @@
 from buildbot.changes.gitpoller import GitPoller
 from autobot.changes.poller import HgPoller
 
+for source in sources['git']:
+    pass
+
+for repourl, branch in sources['hg']:
+    c['change_source'].append(HgPoller(
+        repourl=repourl,
+        pollInterval=30, # should be configurable
+        branch=branch))
+
+
 ####### SCHEDULERS
 from buildbot.scheduler import Scheduler
 buildernames = [i['name'] for i in builders]