diff --git a/Jenkinsfile b/Jenkinsfile index 25251338b5658db7ac5f4f406c01bedc11994fa3..b89ab5a5ba46e3d9d0ea93d02b801ec88e7c74f6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -336,12 +336,12 @@ pipeline { ''' } timeout(time: 60, unit: 'MINUTES'){ - // sh ''' - // cd ${WKC}/tests/pytest - // rm -rf /var/lib/taos/* - // rm -rf /var/log/taos/* - // ./handle_crash_gen_val_log.sh - // ''' + sh ''' + cd ${WKC}/tests/pytest + rm -rf /var/lib/taos/* + rm -rf /var/log/taos/* + ./handle_crash_gen_val_log.sh + ''' sh ''' cd ${WKC}/tests/pytest rm -rf /var/lib/taos/* @@ -462,7 +462,7 @@ pipeline { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { bat''' cd C:\\workspace\\TDinternal\\community\\tests\\pytest - test-all.bat CrashGen + test-all.bat Wintest ''' } script{ diff --git a/tests/pytest/test-all.bat b/tests/pytest/test-all.bat index 1f1e2c1727527e91f7632213992607d6221eac85..31c69e9c955139c6808da045fbe8c875bb7b338a 100644 --- a/tests/pytest/test-all.bat +++ b/tests/pytest/test-all.bat @@ -7,7 +7,6 @@ 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. ) ) exit - :colorEcho echo off "%~2"