Skip to content

Commit

Permalink
Update wait_for_build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverchang authored Mar 15, 2017
1 parent 6364c0f commit 4f0b242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/gcb/wait_for_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4f0b242

Please sign in to comment.