From 181874339bc32c34cf5c7c30d0854f6a7f9aa8e0 Mon Sep 17 00:00:00 2001 From: tangfangzhi Date: Fri, 24 Jun 2022 15:46:45 +0800 Subject: [PATCH] fix: change Jenkins run case timeout --- Jenkinsfile2 | 2 +- tests/parallel_test/run.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile2 b/Jenkinsfile2 index 38af8fd286..b65576deaf 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -363,7 +363,7 @@ pipeline { echo "${linux_node_ip}:${linux_node_pass}" } catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') { - timeout(time: 40, unit: 'MINUTES'){ + timeout(time: 120, unit: 'MINUTES'){ pre_test() script { sh ''' diff --git a/tests/parallel_test/run.sh b/tests/parallel_test/run.sh index 700d6853d2..26f481e571 100755 --- a/tests/parallel_test/run.sh +++ b/tests/parallel_test/run.sh @@ -281,6 +281,9 @@ function run_thread() { cat $case_log_file echo "=====================================================" echo -e "\e[34m log file: $case_log_file \e[0m" + if [ ! -z "${web_server}" ]; then + echo "${web_server}/$test_log_dir/${case_file}.txt" + fi if [ ! -z "$corefile" ]; then echo -e "\e[34m corefiles: $corefile \e[0m" local build_dir=$log_dir/build_${hosts[index]}