提交 4b8e4876 编写于 作者: L liuyq-617

update jenkins

上级 7a0228dc
...@@ -459,10 +459,12 @@ pipeline { ...@@ -459,10 +459,12 @@ pipeline {
agent{label "win"} agent{label "win"}
steps{ steps{
pre_test_win() pre_test_win()
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
bat''' bat'''
cd C:\\workspace\\TDinternal\\community\\tests\\pytest cd C:\\workspace\\TDinternal\\community\\tests\\pytest
test-all.bat CrashGen test-all.bat CrashGen
''' '''
}
script{ script{
win_stop=1 win_stop=1
println win_stop println win_stop
......
...@@ -4,7 +4,7 @@ for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1) ...@@ -4,7 +4,7 @@ for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# & echo on & for %%b in (1)
for /F "usebackq tokens=*" %%i in (fulltest.bat) do ( for /F "usebackq tokens=*" %%i in (fulltest.bat) do (
echo Processing %%i echo Processing %%i
call %%i ARG1 -w 1 -m %1 > result.txt 2>error.txt call %%i ARG1 -w 1 -m %1 > result.txt 2>error.txt
if errorlevel 1 ( call :colorEcho 0c "failed" &echo. && exit 3 ) else ( call :colorEcho 0a "Success" &echo. ) if errorlevel 1 ( call :colorEcho 0c "failed" &echo. && exit 8 ) else ( call :colorEcho 0a "Success" &echo. )
) )
exit exit
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册