示例#1
0
 def task_pruned(self, task):
     if task.is_resource():
         return
     for ext in self.hooks:
         utils.call_and_catch_and_log(ext.task_pruned, task)
示例#2
0
 def task_postunpack(self, task, artifact, tools):
     if task.is_resource():
         return
     for ext in self.hooks:
         utils.call_and_catch_and_log(ext.task_postunpack, task, artifact,
                                      tools)
示例#3
0
 def task_created(self, task):
     for ext in self.hooks:
         utils.call_and_catch_and_log(ext.task_created, task)
示例#4
0
 def task_postrun(self, task, deps, tools):
     if task.is_resource():
         return
     for ext in self.hooks:
         utils.call_and_catch_and_log(ext.task_postrun, task, deps, tools)
示例#5
0
 def task_prepublish(self, task, artifact, tools):
     if task.is_resource():
         return
     for ext in self.hooks:
         utils.call_and_catch_and_log(ext.task_prepublish, task, artifact,
                                      tools)
示例#6
0
 def task_finished_upload(self, task):
     if task.is_resource():
         return
     for ext in self.hooks:
         utils.call_and_catch_and_log(ext.task_finished_upload, task)
示例#7
0
 def task_started_execution(self, task):
     if task.is_resource():
         return
     for ext in self.hooks:
         utils.call_and_catch_and_log(ext.task_started_execution, task)
示例#8
0
 def task_started_download(self, task):
     if task.is_resource():
         return
     for ext in self.hooks:
         utils.call_and_catch_and_log(ext.task_started_download, task)