From be9ca1b211410c041ff227f80d0cec62a77d10ac Mon Sep 17 00:00:00 2001 From: Sandeep Krishnamurthy Date: Mon, 22 Oct 2018 15:02:34 -0700 Subject: [PATCH] Fail the broken link job when broken links are found (#12905) --- tests/nightly/broken_link_checker_test/test_broken_links.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/nightly/broken_link_checker_test/test_broken_links.py b/tests/nightly/broken_link_checker_test/test_broken_links.py index b1cbac7375e3..97e67b1a8b91 100755 --- a/tests/nightly/broken_link_checker_test/test_broken_links.py +++ b/tests/nightly/broken_link_checker_test/test_broken_links.py @@ -101,4 +101,5 @@ def prepare_link_test_result(command_output): else: print(broken_links_summary) print("END - Broken links summary") - + # Fail the job as we found the broken links + sys.exit(-1)