def syncBuild(self, location, buildNum, parameter): if location['protocol']=='ftp': parameter['Host'] = location['server'] parameter['FilePath'] = location['path'] parameter['BuildNum'] = buildNum if not self.parameter.has_key("BaseDir"): parameter['BaseDir'] = self.parameter["Product"] globalProperty.getSyncerPoolManager().runSyncer(parameter) return
def run(self): self.logger.debug('AsyncFTPTask run') globalProperty.getSyncerPoolManager().runSyncer(self.parameter) return