From 3ed402b419656c653c312f1b64a422e303fa218b Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Wed, 15 Sep 2021 13:50:19 +0800 Subject: [PATCH] update jenkins --- Jenkinsfile | 14 +++++++------- tests/pytest/test-all.bat | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 25251338b5..b89ab5a5ba 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 1f1e2c1727..31c69e9c95 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" -- GitLab