Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: tools/bots/dartium_android.py

Issue 457373002: Don't upload Android content_shell APK on integration channel. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix string literals Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/dartium_android.py
diff --git a/tools/bots/dartium_android.py b/tools/bots/dartium_android.py
index 5cbb2f3fa8d473c18dffd08540705793c20ce659..8f740bf500bacf21fd7f537f25777fb3c6ce4681 100644
--- a/tools/bots/dartium_android.py
+++ b/tools/bots/dartium_android.py
@@ -39,7 +39,10 @@ def UploadSetACL(gsutil, local, remote):
def UploadAPKs(options):
with bot.BuildStep('Upload apk'):
- bot_name = os.environ.get("BUILDBOT_BUILDERNAME")
+ bot_name = os.environ.get('BUILDBOT_BUILDERNAME')
+ on_fyi = 'fyi-' in os.environ.get('BUILDBOT_SCHEDULER')
+ if '-integration' in bot_name or on_fyi:
+ return
channel = bot_utils.GetChannelFromName(bot_name)
namer = bot_utils.GCSNamer(channel=channel)
gsutil = bot_utils.GSUtil()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698