Don't fail the culprit finder pipeline when calling "bazel info" fails
@@ -62,6 +62,7 @@ def get_bazel_commits_between(first_commit, second_commit):
def test_with_bazel_at_commit(project_name, platform_name, git_repo_location, bazel_commit):
http_config = DOWNSTREAM_PROJECTS[project_name]["http_config"]
+ try:
return_code = bazelci.main(
[
"runner",
@@ -71,6 +72,9 @@ def test_with_bazel_at_commit(project_name, platform_name, git_repo_location, ba
"--use_bazel_at_commit=" + bazel_commit,
]
)
+ except subprocess.CalledProcessError as e:
+ bazelci.eprint(str(e))
+ return False
return return_code == 0
