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

update jenkins

上级 0c7ff51a
......@@ -117,7 +117,7 @@ def pre_test_win(){
cd C:\\workspace\\TDinternal
rd /s /Q C:\\workspace\\TDinternal\\debug
cd C:\\workspace\\TDinternal\\community
git reset --hard HEAD~10 >/dev/null
git reset --hard HEAD~10
'''
script {
if (env.CHANGE_TARGET == 'master') {
......@@ -138,7 +138,7 @@ def pre_test_win(){
}
bat'''
cd C:\\workspace\\TDinternal\\community
git pull >/dev/null
git pull
git fetch origin +refs/pull/${CHANGE_ID}/merge
git checkout -qf FETCH_HEAD
git clean -dfx
......@@ -164,7 +164,7 @@ def pre_test_win(){
}
bat '''
cd C:\\workspace\\TDinternal
git pull >/dev/null
git pull
export TZ=Asia/Harbin
date
......
......@@ -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 (
echo Processing %%i
call %%i ARG1 -w 1 -m %1 > result.txt 2>error.txt
if errorlevel 1 ( call :colorEcho 0c "failed" &echo. ) else ( call :colorEcho 0a "Success" &echo. )
if errorlevel 1 ( call :colorEcho 0c "failed" &echo. && exit /b ) else ( call :colorEcho 0a "Success" &echo. )
)
exit
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册