提交 4adfb466 编写于 作者: T tangfangzhi

fix: Jenkins syntax error

上级 64879c45
...@@ -287,8 +287,10 @@ pipeline { ...@@ -287,8 +287,10 @@ pipeline {
pre_test_win() pre_test_win()
pre_test_build_win() pre_test_build_win()
run_win_ctest() run_win_ctest()
while(linux_ready == 0) { script {
sleep(8) while(linux_ready == 0) {
sleep(8)
}
} }
run_win_test() run_win_test()
} }
...@@ -331,19 +333,15 @@ pipeline { ...@@ -331,19 +333,15 @@ pipeline {
sleep 20 sleep 20
service taosd status service taosd status
''' '''
script { linux_ready = 1
linux_ready = 1
}
sh ''' sh '''
cd ${WKC}/tests/parallel_test cd ${WKC}/tests/parallel_test
export DEFAULT_RETRY_TIME=2 export DEFAULT_RETRY_TIME=2
date date
timeout 2100 time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME}_${BUILD_ID} -l ${WKDIR}/log -o 480 timeout 2100 time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME}_${BUILD_ID} -l ${WKDIR}/log -o 480
''' '''
script { while(win_test_stage == 0){
while(win_test_stage == 0){ sleep(12)
sleep(12)
}
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册