diff --git a/Jenkinsfile2 b/Jenkinsfile2 index f51ddbbac3a99f7755ade295f372b44e2d1ca2cc..cbf663cdcfeb1ed1f31adbf152dc2e3ff4fc8b66 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -233,7 +233,7 @@ pipeline { changeRequest() } steps { - timeout(time: 20, unit: 'MINUTES'){ + timeout(time: 40, unit: 'MINUTES'){ pre_test() script { sh ''' @@ -245,8 +245,9 @@ pipeline { ''' sh ''' cd ${WKC}/tests/parallel_test + export DEFAULT_RETRY_TIME=2 date - time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME} -l ${WKDIR}/log + timeout 2100 time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME} -l ${WKDIR}/log -o 480 ''' } }