From 504bd3d41718f8568307168fa076ee96c66002d6 Mon Sep 17 00:00:00 2001 From: Dave Machado Date: Wed, 2 Aug 2017 23:54:15 -0400 Subject: [PATCH] add pipe to build_bot --- build/main.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/main.sh b/build/main.sh index b7b11493..9a3517ce 100755 --- a/build/main.sh +++ b/build/main.sh @@ -19,18 +19,19 @@ else fi echo "running format validation..." -./validate_format.rb $FORMAT_FILE +./validate_format.rb $FORMAT_FILE > format_results.txt if [[ $? != 0 ]]; then echo "format validation failed!" + cat format_results.txt | build_bot exit 1 else echo "format validation passed!" fi - echo "running link validation..." ./validate_links.rb $LINK_FILE if [[ $? != 0 ]]; then echo "link validation failed!" + echo "link(s) were unavailible during the build. Please verfiy that they are valid." | build_bot exit 1 else echo "link validation passed!"