From 73580dd787829a4baf7039e5cf2c8d47439843a9 Mon Sep 17 00:00:00 2001 From: Yunlian Jiang Date: Tue, 21 Nov 2017 04:48:40 -0800 Subject: Add '-tryjob' suffix to build name. We got some errors like These configs are not tryjob safe: lumpy-release Consider these configs instead: lumpy-release-tryjob when lauching tryjobs to get the image. This CL fixes that. BUG=none TEST=the build name is set to lumpy-release-tryjob. Change-Id: I30086001e3937c956983f7c31b038b4a09b3ecec Reviewed-on: https://chromium-review.googlesource.com/781441 Commit-Ready: Yunlian Jiang Tested-by: Yunlian Jiang Reviewed-by: Caroline Tice --- cros_utils/buildbot_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cros_utils') diff --git a/cros_utils/buildbot_utils.py b/cros_utils/buildbot_utils.py index 51841545..286c3c9f 100644 --- a/cros_utils/buildbot_utils.py +++ b/cros_utils/buildbot_utils.py @@ -107,7 +107,7 @@ def GetBuildInfo(file_dir, waterfall_builder): """Get all the build records for the trybot builds.""" builder = '' - if waterfall_builder.endswith('-release'): + if waterfall_builder.endswith('-release-tryjob'): builder = 'release' elif waterfall_builder.endswith('-gcc-toolchain'): builder = 'gcc_toolchain' -- cgit v1.2.3