Пример #1
0
 def __init__(self, config):
     self.config = config
     self.opts = runner.loadOptions()
     self.connect = self.getopt("connect", "try_connect")
     assert self.connect, "you must specify a connect style: ssh or pb"
     self.builderNames = self.getopt("builders", "try_builders")
     assert self.builderNames, "no builders! use --builder or " "try_builders=[names..] in .buildbot/options"
Пример #2
0
 def __init__(self, config):
     self.config = config
     self.opts = runner.loadOptions()
     self.connect = self.getopt('connect', 'try_connect')
     assert self.connect, "you must specify a connect style: ssh or pb"
     self.builderNames = self.getopt('builders', 'try_builders')
     assert self.builderNames, "no builders! use --builder or " \
            "try_builders=[names..] in .buildbot/options"
Пример #3
0
 def check(self, d, key):
     basedir = os.sep.join(d)
     options = runner.loadOptions(self.optionsFile, here=basedir,
                                  home=self.home)
     if key is None:
         self.failIf(options.has_key('key'))
     else:
         self.failUnlessEqual(options['key'], key)
 def check(self, d, key):
     basedir = os.sep.join(d)
     options = runner.loadOptions(self.optionsFile,
                                  here=basedir,
                                  home=self.home)
     if key is None:
         self.failIf(options.has_key('key'))
     else:
         self.failUnlessEqual(options['key'], key)
Пример #5
0
 def __init__(self, config):
     self.config = config
     self.opts = runner.loadOptions()
     self.connect = self.getopt('connect', 'try_connect')
     assert self.connect, "you must specify a connect style: ssh or pb"
     self.builderNames = self.getopt('builders', 'try_builders')