Esempio n. 1
0
 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
Esempio n. 2
0
 def run(self):
     self.logger.debug('AsyncFTPTask run')
     globalProperty.getSyncerPoolManager().runSyncer(self.parameter)
     return