Index: dart/tools/bots/dartium_android.py |
=================================================================== |
--- dart/tools/bots/dartium_android.py (revision 37971) |
+++ dart/tools/bots/dartium_android.py (working copy) |
@@ -40,7 +40,9 @@ |
def UploadAPKs(options): |
with bot.BuildStep('Upload apk'): |
revision = utils.GetSVNRevision() |
- namer = bot_utils.GCSNamer() |
+ bot_name = os.environ.get("BUILDBOT_BUILDERNAME") |
+ channel = bot_utils.GetChannelFromName(bot_name) |
+ namer = bot_utils.GCSNamer(channel=channel) |
gsutil = bot_utils.GSUtil() |
web_link_prefix = 'https://storage.cloud.google.com/' |