提交 3add52d7 编写于 作者: D Dian Fu 提交者: Robert Metzger

[FLINK-20069][build] Fix docs_404_check

上级 697ac49d
......@@ -17,16 +17,22 @@
# limitations under the License.
################################################################################
gem update --system
gem install bundler -v 1.17.2
CACHE_DIR=$HOME/gem_cache ./docs/build_docs.sh -p &
for i in `seq 1 30`;
for i in `seq 1 90`;
do
echo "Waiting for server..."
curl -Is http://localhost:4000 --fail
if [ $? -eq 0 ]; then
break
./docs/check_links.sh
EXIT_CODE=$?
exit $EXIT_CODE
fi
sleep 10
done
./docs/check_links.sh
echo "Jekyll server wasn't started within 15 minutes"
exit 1
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册