This commit is contained in:
liuyq-617 2021-02-06 10:36:16 +08:00
parent 55c15f3d47
commit 230bcee1e0
1 changed files with 12 additions and 9 deletions

21
Jenkinsfile vendored
View File

@ -160,6 +160,9 @@ pipeline {
stage('test_crash_gen_s3') { stage('test_crash_gen_s3') {
agent{label "b2"} agent{label "b2"}
options{
timeout(time: 45, unit: 'MINUTES')
}
steps { steps {
pre_test() pre_test()
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
@ -171,17 +174,16 @@ pipeline {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh ''' sh '''
cd ${WKC}/tests/pytest cd ${WKC}/tests/pytest
rm -rf /var/lib/taos/*
./handle_crash_gen_val_log.sh ./handle_crash_gen_val_log.sh
''' '''
} }
timeout(time: 45, unit: 'MINUTES'){ sh '''
sh ''' date
date cd ${WKC}/tests
cd ${WKC}/tests ./test-all.sh b2fq
./test-all.sh b2fq date
date '''
'''
}
} }
} }
@ -215,6 +217,7 @@ pipeline {
date date
cd ${WKC}/tests cd ${WKC}/tests
./test-all.sh b4fq ./test-all.sh b4fq
cd ${WKC}/tests
./test-all.sh p4 ./test-all.sh p4
date''' date'''
} }