aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/android_compile
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/android_compile')
-rw-r--r--infra/bots/android_compile/trigger_wait_ac_task.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/infra/bots/android_compile/trigger_wait_ac_task.py b/infra/bots/android_compile/trigger_wait_ac_task.py
index 9b74cd8e29..e5be7723c2 100644
--- a/infra/bots/android_compile/trigger_wait_ac_task.py
+++ b/infra/bots/android_compile/trigger_wait_ac_task.py
@@ -123,7 +123,12 @@ def TriggerAndWait(options):
if ret["done"]:
print
print
- if ret["withpatch_success"]:
+ if not ret.get("is_master_branch", True):
+ print 'The Android Framework Compile bot only works for patches and'
+ print 'hashes from the master branch.'
+ print
+ return 0
+ elif ret["withpatch_success"]:
print 'Your run was successfully completed.'
print
print 'With patch logs are here: %s' % ret["withpatch_log"]