| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from pipeline_wrapper import BasePipeline | 5 from pipeline_wrapper import BasePipeline |
| 6 from model import wf_analysis_status | 6 from model import wf_analysis_status |
| 7 from model.wf_try_job import WfTryJob | 7 from model.wf_try_job import WfTryJob |
| 8 from waterfall.identify_try_job_culprit_pipeline import ( | 8 from waterfall.identify_try_job_culprit_pipeline import ( |
| 9 IdentifyTryJobCulpritPipeline) | 9 IdentifyTryJobCulpritPipeline) |
| 10 from waterfall.monitor_try_job_pipeline import MonitorTryJobPipeline | 10 from waterfall.monitor_try_job_pipeline import MonitorTryJobPipeline |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 """Finalizes this Pipeline after execution.""" | 44 """Finalizes this Pipeline after execution.""" |
| 45 self._LogUnexpectedAbort(self.was_aborted) | 45 self._LogUnexpectedAbort(self.was_aborted) |
| 46 | 46 |
| 47 # Arguments number differs from overridden method - pylint: disable=W0221 | 47 # Arguments number differs from overridden method - pylint: disable=W0221 |
| 48 def run( | 48 def run( |
| 49 self, master_name, builder_name, build_number, | 49 self, master_name, builder_name, build_number, |
| 50 good_revision, bad_revision, compile_targets): | 50 good_revision, bad_revision, compile_targets): |
| 51 try_job_id = yield ScheduleTryJobPipeline( | 51 try_job_id = yield ScheduleTryJobPipeline( |
| 52 master_name, builder_name, build_number, good_revision, bad_revision, | 52 master_name, builder_name, build_number, good_revision, bad_revision, |
| 53 compile_targets) | 53 compile_targets) |
| 54 compile_result = yield MonitorTryJobPipeline( | 54 try_job_result = yield MonitorTryJobPipeline( |
| 55 master_name, builder_name, build_number, try_job_id) | 55 master_name, builder_name, build_number, try_job_id) |
| 56 yield IdentifyTryJobCulpritPipeline( | 56 yield IdentifyTryJobCulpritPipeline( |
| 57 master_name, builder_name, build_number, try_job_id, compile_result) | 57 master_name, builder_name, build_number, try_job_id, try_job_result) |
| OLD | NEW |