Signed-off-by: Jo-Philipp Wich <jo@mein.io>
title_url = http://lede-project.org/
buildbot_url = http://phase2.builds.lede-project.org/
homedir = ../phase1
title_url = http://lede-project.org/
buildbot_url = http://phase2.builds.lede-project.org/
homedir = ../phase1
[status]
bind = tcp:8011:interface=127.0.0.1
[status]
bind = tcp:8011: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 = 9990
+
+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'] = 9990
+c['slavePortnum'] = slave_port
# coalesce builds
c['mergeRequests'] = True
# coalesce builds
c['mergeRequests'] = True