[Buildbot-commits] buildbot/buildbot/scripts sample.cfg,1.16,1.17
Brian Warner
warner at users.sourceforge.net
Tue Aug 7 23:41:08 UTC 2007
Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21861/buildbot/scripts
Modified Files:
sample.cfg
Log Message:
[project @ add max_builds= to BuildSlave, thanks to Dustin Mitchell. Closes #48.]
Original author: warner at lothar.com
Date: 2007-08-07 23:40:12+00:00
Index: sample.cfg
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/sample.cfg,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- sample.cfg 7 Aug 2007 19:21:40 -0000 1.16
+++ sample.cfg 7 Aug 2007 23:41:06 -0000 1.17
@@ -22,13 +22,15 @@
from buildbot.buildslave import BuildSlave
c['slaves'] = [BuildSlave("bot1name", "bot1passwd")]
+# to limit to two concurrent builds on a slave, use
+# c['slaves'] = [BuildSlave("bot1name", "bot1passwd", max_builds=2)]
+
# 'slavePortnum' defines the TCP port to listen on. This must match the value
# configured into the buildslaves (with their --master option)
c['slavePortnum'] = 9989
-
####### CHANGESOURCES
# the 'change_source' setting tells the buildmaster how it should find out
More information about the Commits
mailing list