Signed-off-by: Jo-Philipp Wich <jo@mein.io>
buildbot_url = http://phase1.builds.lede-project.org/
homedir = .
expire = 1209600
buildbot_url = http://phase1.builds.lede-project.org/
homedir = .
expire = 1209600
[status]
bind = tcp:8010:interface=127.0.0.1
[status]
bind = tcp:8010:interface=127.0.0.1
# slave name and password must be configured on the slave.
from buildbot.buildslave import BuildSlave
# slave name and password must be configured on the slave.
from buildbot.buildslave import BuildSlave
+slave_port = 9989
+
+if ini.has_option("general", "port"):
+ slave_port = ini.getint("general", "port")
+
c['slaves'] = []
for section in ini.sections():
c['slaves'] = []
for section in ini.sections():
# 'slavePortnum' defines the TCP port to listen on for connections from slaves.
# This must match the value configured into the buildslaves (with their
# --master option)
# 'slavePortnum' defines the TCP port to listen on for connections from slaves.
# This must match the value configured into the buildslaves (with their
# --master option)
-c['slavePortnum'] = 9989
+c['slavePortnum'] = slave_port
# coalesce builds
c['mergeRequests'] = True
# coalesce builds
c['mergeRequests'] = True