def stop(): '''Stop the master buildbot.''' from buildslave.scripts import runner new_args = [ 'buildslave', 'stop', pave.fs.join([pave.path.build, 'slave'])] sys.argv = new_args runner.run()
def buildslave(args): '''Run the buildslave command.''' from buildslave.scripts import runner new_args = ['buildslave'] new_args.extend(args) sys.argv = new_args with pushd(pave.fs.join(pave.path.build, 'slave')): runner.run()
def start(options): '''Start the slave buildbot.''' from buildslave.scripts import runner # Set buildslave name to be used in buildbot.tac. sys.buildslave_name = pave.getOption( options, 'start', 'name', default_value=pave.getHostname()) new_args = [ 'buildslave', 'start', pave.fs.join([pave.path.build, 'slave'])] sys.argv = new_args runner.run()