def __init__( self, location, branch = None, tag = None, path = 'admin', script = 'buildscript.py' , rootTrunk = False ): MApplication.__init__( self, name = 'proxybuilder' ) self.addLogger( ConsoleLogger() ) self.setDoBranchBuilds( False ) self.__params = BuildParameters() self.__params.parse() self.__params.apply( self.getSettings() ) self.getSettings().set( Settings.ScriptLogLevel, self.__params.getDebugLevel() ) self.__location = location self.__branch = branch self.__tag = tag self.__path = path self.__script = script self.__rootTrunk = rootTrunk
def __init__( self ): MApplication.__init__( self, name = 'mom' ) self.__parameters = MomParameters()
def __init__( self, name = None, parent = None ): MApplication.__init__( self, name, parent ) self.__params = SimpleCiParameters() self.__params.parse() self.__buildStatus = BuildStatus()
def __init__( self, minimumMomVersion = None, name = None, parent = None ): MApplication.__init__( self, minimumMomVersion, name, parent ) mApp().getSettings().set( Settings.ScriptBuildName, name ) self.__project = None self.__parameters = BuildParameters() self.__startTime = datetime.utcnow()