From cccff8e5d47ed54377b402c324dc97de08e287fd Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Wed, 15 Sep 2021 14:54:44 +0800 Subject: [PATCH] update jenkins --- Jenkinsfile | 6 ++++++ tests/pytest/test-all.bat | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 25bfb41122..0e80576f48 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -124,16 +124,19 @@ def pre_test_win(){ script { if (env.CHANGE_TARGET == 'master') { bat ''' + cd C:\\workspace\\TDinternal\\community git checkout master ''' } else if(env.CHANGE_TARGET == '2.0'){ bat ''' + cd C:\\workspace\\TDinternal\\community git checkout 2.0 ''' } else{ bat ''' + cd C:\\workspace\\TDinternal\\community git checkout develop ''' } @@ -150,16 +153,19 @@ def pre_test_win(){ script { if (env.CHANGE_TARGET == 'master') { bat ''' + cd C:\\workspace\\TDinternal git checkout master ''' } else if(env.CHANGE_TARGET == '2.0'){ bat ''' + cd C:\\workspace\\TDinternal git checkout 2.0 ''' } else{ bat ''' + cd C:\\workspace\\TDinternal git checkout develop ''' } 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