diff options
author | Yunlian Jiang <yunlian@google.com> | 2017-11-27 10:59:30 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-27 13:10:46 -0800 |
commit | bddbcd3a08c1e15c01e391595964eb6aa817c808 (patch) | |
tree | 220a9dde1051736fc858129a0fd28931417ea04d /cros_utils/buildbot_utils.py | |
parent | 2e0ad05834bfc3ce47e97af06f36d0e6a1fb7957 (diff) | |
download | toolchain-utils-bddbcd3a08c1e15c01e391595964eb6aa817c808.tar.gz |
Add '-tryjob' suffix to build name.
We got some errors like
These configs are not tryjob safe:
link-llvm-next-toolchain
Consider these configs instead:
link-llvm-next-toolchain-tryjob
when lauching tryjobs to get the image.
This CL fixes that.
BUG=none
TEST=The build name is changed.
Change-Id: I56ef66dfb1071367b78ee8a7335552cdae5a5b44
Reviewed-on: https://chromium-review.googlesource.com/791391
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/buildbot_utils.py')
-rw-r--r-- | cros_utils/buildbot_utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cros_utils/buildbot_utils.py b/cros_utils/buildbot_utils.py index 286c3c9f..57535828 100644 --- a/cros_utils/buildbot_utils.py +++ b/cros_utils/buildbot_utils.py @@ -109,11 +109,11 @@ def GetBuildInfo(file_dir, waterfall_builder): builder = '' if waterfall_builder.endswith('-release-tryjob'): builder = 'release' - elif waterfall_builder.endswith('-gcc-toolchain'): + elif waterfall_builder.endswith('-gcc-toolchain-tryjob'): builder = 'gcc_toolchain' - elif waterfall_builder.endswith('-llvm-toolchain'): + elif waterfall_builder.endswith('-llvm-toolchain-tryjob'): builder = 'llvm_toolchain' - elif waterfall_builder.endswith('-llvm-next-toolchain'): + elif waterfall_builder.endswith('-llvm-next-toolchain-tryjob'): builder = 'llvm_next_toolchain' sa_file = os.path.expanduser( |