fix: change Jenkins run case timeout

This commit is contained in:
tangfangzhi 2022-06-24 15:46:45 +08:00
parent 33c85e06c8
commit 181874339b
2 changed files with 4 additions and 1 deletions

View File

@ -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 '''

View File

@ -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]}