未验证 提交 fc5415d6 编写于 作者: S Sing_chan 提交者: GitHub

change exit code of pip install dependencies to 5 (#36016)

上级 1026052c
......@@ -89,7 +89,7 @@ if "%WITH_PYTHON%" == "ON" (
pip install -r %work_dir%\python\requirements.txt --user
if !ERRORLEVEL! NEQ 0 (
echo pip install requirements.txt failed!
exit /b 7
exit /b 5
)
)
......@@ -309,7 +309,7 @@ if %GENERATOR% == "Ninja" (
pip install ninja
if %errorlevel% NEQ 0 (
echo pip install ninja failed!
exit /b 7
exit /b 5
)
)
......@@ -627,7 +627,7 @@ git diff --name-only %BRANCH% | findstr /V "\.py" || set CI_SKIP_CPP_TEST=ON
pip install -r %work_dir%\python\unittest_py\requirements.txt --user
if %ERRORLEVEL% NEQ 0 (
echo pip install unittest requirements.txt failed!
exit /b 7
exit /b 5
)
for /F %%# in ('wmic os get localdatetime^|findstr 20') do set start=%%#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册