未验证 提交 e6177072 编写于 作者: Y YUNSHEN XIE 提交者: GitHub

add retry for download lcov failed (#29789)

上级 356efd36
...@@ -19,7 +19,7 @@ set -xe ...@@ -19,7 +19,7 @@ set -xe
PADDLE_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}")/../../" && pwd )" PADDLE_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}")/../../" && pwd )"
# install lcov # install lcov
curl -o /lcov-1.14.tar.gz -x "" -s https://paddle-ci.gz.bcebos.com/coverage/lcov-1.14.tar.gz || exit 101 curl -o /lcov-1.14.tar.gz --connect-timeout 600 --retry 10 --retry-delay 10 -x "" -s https://paddle-ci.gz.bcebos.com/coverage/lcov-1.14.tar.gz || exit 101
tar -xf /lcov-1.14.tar.gz -C / tar -xf /lcov-1.14.tar.gz -C /
cd /lcov-1.14 cd /lcov-1.14
make install make install
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册