from buildbot.plugins import worker cpp_worker = worker.DockerLatentWorker('buildbot-cpp-worker', 'pass', docker_host='tcp://192.168.178.39:2375', image='buildbot-cpp-worker') def append(workers): workers.append(cpp_worker) return workers