提交 1c65a200 编写于 作者: T tangfangzhi

enh: handle run test timeout

上级 ce3a4d97
...@@ -268,11 +268,11 @@ pipeline { ...@@ -268,11 +268,11 @@ pipeline {
hostname hostname
''' '''
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
timeout(time: 20, unit: 'MINUTES') { timeout(time: 21, unit: 'MINUTES') {
sh ''' sh '''
date date
cd ${WKC}/tests/parallel_test cd ${WKC}/tests/parallel_test
time ./run.sh -m m.json -t cases.task -l ${LOGDIR} -b ${BRANCH_NAME} timeout 1200 time ./run.sh -m m.json -t cases.task -l ${LOGDIR} -b ${BRANCH_NAME}
date date
hostname hostname
''' '''
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册