aboutsummaryrefslogtreecommitdiff
path: root/cros_utils
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@google.com>2017-11-21 04:48:40 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-11-21 16:37:13 -0800
commit73580dd787829a4baf7039e5cf2c8d47439843a9 (patch)
tree6ade04d97c94280819fe95dbb4aacd83f6e3f6a1 /cros_utils
parent9c4003a995ec910718bed777efe9ecb893d71ef9 (diff)
downloadtoolchain-utils-73580dd787829a4baf7039e5cf2c8d47439843a9.tar.gz
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 <yunlian@chromium.org> Tested-by: Yunlian Jiang <yunlian@chromium.org> Reviewed-by: Caroline Tice <cmtice@chromium.org>
Diffstat (limited to 'cros_utils')
-rw-r--r--cros_utils/buildbot_utils.py2
1 files changed, 1 insertions, 1 deletions
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'