diff options
author | Rahul Chaudhry <rahulchaudhry@chromium.org> | 2015-08-05 11:22:20 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-06 18:48:06 +0000 |
commit | dac5f567d00069a739d9d08935f9e28f97ab45e7 (patch) | |
tree | 1aef8f811b16d35a1c07dd531e995525cbaceef8 /utils | |
parent | c7a9ac55b97ca3c2aafa3f3029a707fb1f6be508 (diff) | |
download | toolchain-utils-dac5f567d00069a739d9d08935f9e28f97ab45e7.tar.gz |
buildbot_utils: for release builds, get logs from the 'release' builder.
The individual ${BOARD}-release builders are now grouped together
into one 'release' builder.
BUG=None
TEST=None
Change-Id: Ie0a2ea1298c63f71385f4f9331e611d8ac22efca
Reviewed-on: https://chrome-internal-review.googlesource.com/225253
Reviewed-by: Caroline Tice <cmtice@google.com>
Commit-Queue: Rahul Chaudhry <rahulchaudhry@google.com>
Tested-by: Rahul Chaudhry <rahulchaudhry@google.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/buildbot_utils.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/buildbot_utils.py b/utils/buildbot_utils.py index c8507bf1..25a7f69a 100644 --- a/utils/buildbot_utils.py +++ b/utils/buildbot_utils.py @@ -112,7 +112,11 @@ def GetBuildInfo(file_dir, builder): .format(file_dir)) if builder: - commands += " -b %s" % builder + # For release builds, get logs from the 'release' builder. + if builder.endswith('-release'): + commands += " -b release" + else: + commands += " -b %s" % builder _, buildinfo, _ = ce.RunCommand(commands, return_output=True, print_to_console=False) build_log = buildinfo.splitlines() |