[Android Compile Bot] Check if patch/hash is not from origin/master
NoTry: true Bug: skia:7615 Change-Id: I824ef67971195b0611cbcf7ce7ad0a289c4c55b9 Reviewed-on: https://skia-review.googlesource.com/106981 Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Eric Boren <borenet@google.com>
This commit is contained in:
parent
36fa0ac9b5
commit
b8ea6fb507
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user