Merge pull request #9701 from taosdata/CI/3.0

[TD-12798]<CI> add timeout for CI
This commit is contained in:
Shengliang Guan 2022-01-10 14:48:16 +08:00 committed by GitHub
commit 04934ea8cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 9 deletions

20
Jenkinsfile vendored
View File

@ -105,15 +105,17 @@ pipeline {
abort_previous()
abortPreviousBuilds()
}
pre_test()
sh'''
cd ${WKC}/tests
./test-all.sh b1fq
'''
sh'''
cd ${WKC}/debug
ctest
'''
timeout(time: 45, unit: 'MINUTES'){
pre_test()
sh'''
cd ${WKC}/tests
./test-all.sh b1fq
'''
sh'''
cd ${WKC}/debug
ctest
'''
}
}
}
}