提交 d40b4f87 编写于 作者: T tangfangzhi

enh: set default timeout

上级 a31dc4c2
...@@ -233,7 +233,7 @@ pipeline { ...@@ -233,7 +233,7 @@ pipeline {
changeRequest() changeRequest()
} }
steps { steps {
timeout(time: 20, unit: 'MINUTES'){ timeout(time: 40, unit: 'MINUTES'){
pre_test() pre_test()
script { script {
sh ''' sh '''
...@@ -245,8 +245,9 @@ pipeline { ...@@ -245,8 +245,9 @@ pipeline {
''' '''
sh ''' sh '''
cd ${WKC}/tests/parallel_test cd ${WKC}/tests/parallel_test
export DEFAULT_RETRY_TIME=2
date date
time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME} -l ${WKDIR}/log timeout 2340 time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME} -l ${WKDIR}/log -o 480
''' '''
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册