fix: dead lock in case of some test failure
This commit is contained in:
parent
4adfb46672
commit
df1bed48aa
14
Jenkinsfile2
14
Jenkinsfile2
|
@ -333,13 +333,25 @@ pipeline {
|
||||||
sleep 20
|
sleep 20
|
||||||
service taosd status
|
service taosd status
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
script {
|
||||||
linux_ready = 1
|
linux_ready = 1
|
||||||
|
}
|
||||||
|
catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
||||||
|
timeout(time: 40, unit: 'MINUTES'){
|
||||||
|
script {
|
||||||
sh '''
|
sh '''
|
||||||
cd ${WKC}/tests/parallel_test
|
cd ${WKC}/tests/parallel_test
|
||||||
export DEFAULT_RETRY_TIME=2
|
export DEFAULT_RETRY_TIME=2
|
||||||
date
|
date
|
||||||
timeout 2100 time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME}_${BUILD_ID} -l ${WKDIR}/log -o 480
|
timeout 2100 time ./run.sh -e -m /home/m.json -t /tmp/cases.task -b ${BRANCH_NAME}_${BUILD_ID} -l ${WKDIR}/log -o 480
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
script {
|
||||||
while(win_test_stage == 0){
|
while(win_test_stage == 0){
|
||||||
sleep(12)
|
sleep(12)
|
||||||
}
|
}
|
||||||
|
@ -349,8 +361,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
emailext (
|
emailext (
|
||||||
|
|
Loading…
Reference in New Issue