__init__(self,
urls,
name=None,
config=None,
dry_run=False,
work_dir=None,
build_dir=' build_${build} ' ,
keep_files=False,
single_build=False,
poll_interval=300,
keepalive_interval=60,
username=None,
password=None,
dump_reports=False,
no_loop=False,
form_auth=False)
(Constructor)
|
|
Create the build slave instance.
- Parameters:
urls - a list of URLs of the build masters to connect to, or a
single-element list containing the path to a build recipe
file
name - the name with which this slave should identify itself
config - the path to the slave configuration file
dry_run - wether the build outcome should not be reported back
to the master
work_dir - the working directory to use for build execution
build_dir - the pattern to use for naming the build subdir
keep_files - whether files and directories created for build
execution should be kept when done
single_build - whether this slave should exit after completing a
single build, or continue processing builds forever
poll_interval - the time in seconds to wait between requesting
builds from the build master (default is five
minutes)
keepalive_interval - the time in seconds to wait between sending
keepalive heartbeats (default is 30 seconds)
username - the username to use when authentication against the
build master is requested
password - the password to use when authentication is needed
dump_reports - whether report data should be written to the
standard output, in addition to being transmitted
to the build master
no_loop - for this slave to just perform a single check, regardless
of whether a build is done or not
form_auth - login using AccountManager HTML form instead of
HTTP authentication for all urls
- Overrides:
object.__init__
|