Update wait_for_build.py

This commit is contained in:
Oliver Chang 2017-03-15 15:49:20 -07:00 committed by GitHub
parent 6364c0f832
commit 4f0b242a1a
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def wait_for_build(build_id):
print datetime.datetime.now(), current_status
sys.stdout.flush()
status = current_status
if status == 'SUCCESS' or status == 'FAILURE':
if status == 'SUCCESS' or status == 'FAILURE' or status == 'INTERNAL_ERROR':
return status == 'SUCCESS'
time.sleep(POLL_INTERVAL)