Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
504bd3d4
Commit
504bd3d4
authored
Aug 02, 2017
by
Dave Machado
Browse files
add pipe to build_bot
parent
60b8db9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/main.sh
View file @
504bd3d4
...
...
@@ -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!"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment