进度上报:拉取代码 :return:
(self)
| 84 | Reporter(self.params).update_task_progress(InfoType.DataHandleSourceReLoad) |
| 85 | |
| 86 | def checkout_report(self): |
| 87 | """ |
| 88 | 进度上报:拉取代码 |
| 89 | :return: |
| 90 | """ |
| 91 | if self.task_type is CompileTask: |
| 92 | Reporter(self.params).update_task_progress(InfoType.CompileSourceCheckout) |
| 93 | elif self.task_type is AnalyzeTask: |
| 94 | Reporter(self.params).update_task_progress(InfoType.AnalyzeSourceCheckout) |
| 95 | elif self.task_type is DataHandleTask: |
| 96 | Reporter(self.params).update_task_progress(InfoType.DataHandleSourceCheckout) |
| 97 | |
| 98 | |
| 99 | class SourceManager(object): |
no test coverage detected