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

udpate jenkins

上级 b24aeae6
...@@ -464,8 +464,9 @@ pipeline { ...@@ -464,8 +464,9 @@ pipeline {
stage('test'){ stage('test'){
agent{label "win"} agent{label "win"}
steps{ steps{
pre_test_win()
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
pre_test_win()
bat''' bat'''
cd C:\\workspace\\TDinternal\\community\\tests\\pytest cd C:\\workspace\\TDinternal\\community\\tests\\pytest
.\\test-all.bat Wintest .\\test-all.bat Wintest
......
...@@ -7,6 +7,7 @@ for /F "usebackq tokens=*" %%i in (fulltest.bat) do ( ...@@ -7,6 +7,7 @@ for /F "usebackq tokens=*" %%i in (fulltest.bat) do (
if errorlevel 1 ( call :colorEcho 0c "failed" &echo. && exit 8 ) else ( call :colorEcho 0a "Success" &echo. ) if errorlevel 1 ( call :colorEcho 0c "failed" &echo. && exit 8 ) else ( call :colorEcho 0a "Success" &echo. )
) )
exit exit
:colorEcho :colorEcho
echo off echo off
<nul set /p ".=%DEL%" > "%~2" <nul set /p ".=%DEL%" > "%~2"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册