Mercurial > hg > autobot
comparison autobot/template.py @ 21:6c3c6488e4a9
can has a slave now
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 07 Jan 2011 16:39:13 -0800 |
parents | 30ec24255ce9 |
children | a7e2f5b2a7e9 |
comparison
equal
deleted
inserted
replaced
20:30ec24255ce9 | 21:6c3c6488e4a9 |
---|---|
62 def post(self, variables): | 62 def post(self, variables): |
63 command = ['buildslave', 'create-slave', self.output, | 63 command = ['buildslave', 'create-slave', self.output, |
64 'localhost:%d' % variables['slaveport'], | 64 'localhost:%d' % variables['slaveport'], |
65 variables['slave'], | 65 variables['slave'], |
66 variables['passwd'] ] | 66 variables['passwd'] ] |
67 print ' '.join(command) | |
68 call(command) | |
67 | 69 |
68 # CLI front end functions | 70 # CLI front end functions |
69 # (console_script entry points) | 71 # (console_script entry points) |
70 | 72 |
71 def create_master(args=sys.argv[1:]): | 73 def create_master(args=sys.argv[1:]): |