fix: change Jenkins run case timeout
This commit is contained in:
parent
33c85e06c8
commit
181874339b
|
@ -363,7 +363,7 @@ pipeline {
|
||||||
echo "${linux_node_ip}:${linux_node_pass}"
|
echo "${linux_node_ip}:${linux_node_pass}"
|
||||||
}
|
}
|
||||||
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
timeout(time: 40, unit: 'MINUTES'){
|
timeout(time: 120, unit: 'MINUTES'){
|
||||||
pre_test()
|
pre_test()
|
||||||
script {
|
script {
|
||||||
sh '''
|
sh '''
|
||||||
|
|
|
@ -281,6 +281,9 @@ function run_thread() {
|
||||||
cat $case_log_file
|
cat $case_log_file
|
||||||
echo "====================================================="
|
echo "====================================================="
|
||||||
echo -e "\e[34m log file: $case_log_file \e[0m"
|
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
|
if [ ! -z "$corefile" ]; then
|
||||||
echo -e "\e[34m corefiles: $corefile \e[0m"
|
echo -e "\e[34m corefiles: $corefile \e[0m"
|
||||||
local build_dir=$log_dir/build_${hosts[index]}
|
local build_dir=$log_dir/build_${hosts[index]}
|
||||||
|
|
Loading…
Reference in New Issue