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

fix: Jenkins syntax error

上级 64879c45
...@@ -287,9 +287,11 @@ pipeline { ...@@ -287,9 +287,11 @@ pipeline {
pre_test_win() pre_test_win()
pre_test_build_win() pre_test_build_win()
run_win_ctest() run_win_ctest()
script {
while(linux_ready == 0) { while(linux_ready == 0) {
sleep(8) sleep(8)
} }
}
run_win_test() run_win_test()
} }
} }
...@@ -331,16 +333,13 @@ pipeline { ...@@ -331,16 +333,13 @@ 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)
} }
...@@ -352,7 +351,6 @@ pipeline { ...@@ -352,7 +351,6 @@ pipeline {
} }
} }
} }
}
post { post {
success { success {
emailext ( emailext (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册