diff --git a/infra/gcb/wait_for_build.py b/infra/gcb/wait_for_build.py index 70959e250..e0934287c 100755 --- a/infra/gcb/wait_for_build.py +++ b/infra/gcb/wait_for_build.py @@ -34,6 +34,7 @@ def wait_for_build(build_id): status = None while True: build_info = get_build(build_id, cloudbuild) + current_status = build_info['status'] if current_status != status: print datetime.datetime.now(), current_status @@ -41,8 +42,6 @@ def wait_for_build(build_id): if status == 'SUCCESS' or status == 'FAILURE': return status == 'SUCCESS' - print build_info['logUrl'] - time.sleep(POLL_INTERVAL)