[Buildbot-commits] buildbot/buildbot buildslave.py,1.1,1.2
Brian Warner
warner at users.sourceforge.net
Tue Aug 7 19:48:56 UTC 2007
- Previous message (by thread): [Buildbot-commits] buildbot/buildbot/test test_config.py, 1.50, 1.51 test_control.py, 1.18, 1.19 test_dependencies.py, 1.8, 1.9 test_locks.py, 1.10, 1.11 test_properties.py, 1.10, 1.11 test_run.py, 1.46, 1.47 test_slaves.py, 1.11, 1.12 test_status.py, 1.44, 1.45 test_steps.py, 1.42, 1.43 test_vc.py, 1.77, 1.78 test_web.py, 1.47, 1.48
- Next message (by thread): [Buildbot-commits] buildbot ChangeLog,1.899,1.900
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/buildbot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28164/buildbot
Modified Files:
buildslave.py
Log Message:
[project @ add BuildSlave.canStartBuild, use it to decide if slaves can be used]
Original author: warner at lothar.com
Date: 2007-08-07 19:48:24+00:00
Index: buildslave.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/buildslave.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- buildslave.py 7 Aug 2007 19:21:39 -0000 1.1
+++ buildslave.py 7 Aug 2007 19:48:54 -0000 1.2
@@ -221,3 +221,11 @@
def perspective_keepalive(self):
pass
+ def canStartBuild(self):
+ """
+ I am called when a build is requested to see if this buildslave
+ can start a build. This function can be used to limit overall
+ concurrency on the buildslave.
+ """
+ return True
+
- Previous message (by thread): [Buildbot-commits] buildbot/buildbot/test test_config.py, 1.50, 1.51 test_control.py, 1.18, 1.19 test_dependencies.py, 1.8, 1.9 test_locks.py, 1.10, 1.11 test_properties.py, 1.10, 1.11 test_run.py, 1.46, 1.47 test_slaves.py, 1.11, 1.12 test_status.py, 1.44, 1.45 test_steps.py, 1.42, 1.43 test_vc.py, 1.77, 1.78 test_web.py, 1.47, 1.48
- Next message (by thread): [Buildbot-commits] buildbot ChangeLog,1.899,1.900
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commits
mailing list