mirror of https://github.com/google/oss-fuzz.git
build_specified_commit: Return failure rather than raise exception when rebuild fails. (#4964)
This commit is contained in:
parent
0a7813d978
commit
0612668e8c
|
@ -274,7 +274,8 @@ def build_fuzzers_from_commit(commit,
|
||||||
|
|
||||||
# Rebuild image and re-copy src dir since things in /src could have changed.
|
# Rebuild image and re-copy src dir since things in /src could have changed.
|
||||||
if not _build_image_with_retries(build_data.project_name):
|
if not _build_image_with_retries(build_data.project_name):
|
||||||
raise RuntimeError('Failed to rebuild image.')
|
logging.error('Failed to rebuild image.')
|
||||||
|
return False
|
||||||
|
|
||||||
cleanup()
|
cleanup()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue