diff options
Diffstat (limited to 'buildscripts/benchmarks')
| -rw-r--r-- | buildscripts/benchmarks/analyze.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/buildscripts/benchmarks/analyze.py b/buildscripts/benchmarks/analyze.py index d8bbefcaaf4..924db911955 100644 --- a/buildscripts/benchmarks/analyze.py +++ b/buildscripts/benchmarks/analyze.py @@ -26,24 +26,15 @@ def get_baseline_task_id(evg_api_config: str, current_task_id: str) -> str: for version in prior_versions: baseline_task_candidate = None - - try: - build = version.build_by_variant(current_task.build_variant) - # If previous version doesn't contain the build variant of the current task - # assume that it's not possible to find the baseline task - except KeyError: - return "" - + build = version.build_by_variant(current_task.build_variant) for task in build.get_tasks(): if task.display_name == current_task.display_name: baseline_task_candidate = task break - # If previous build doesn't contain the task with the same 'display_name' # assume that this is a new task and there is no baseline task if baseline_task_candidate is None: return "" - if baseline_task_candidate.is_success(): return baseline_task_candidate.task_id |
