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

resolve the issue of curl having same exit code with paddle build failed (#27035)

* resolve the issue of curl having same exit code with paddle build failed

* modifed the value of exit code

* simplify the code
Co-authored-by: Nchalsliu <45041955+chalsliu@users.noreply.github.com>
上级 4558d395
......@@ -5,7 +5,7 @@ set -xe
PADDLE_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}")/../../" && pwd )"
# install lcov
curl -o /lcov-1.14.tar.gz -s https://paddle-ci.gz.bcebos.com/coverage%2Flcov-1.14.tar.gz
curl -o /lcov-1.14.tar.gz -x "" -s https://paddle-ci.gz.bcebos.com/coverage/lcov-1.14.tar.gz || exit 101
tar -xf /lcov-1.14.tar.gz -C /
cd /lcov-1.14
make install
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册