[TD-12798]<CI> add timeout for CI

This commit is contained in:
liuyq-617 2022-01-10 13:23:56 +08:00
parent 0fb5c69ed5
commit 2eb4181654
1 changed files with 11 additions and 9 deletions

2
Jenkinsfile vendored
View File

@ -105,6 +105,7 @@ pipeline {
abort_previous()
abortPreviousBuilds()
}
timeout(time: 45, unit: 'MINUTES'){
pre_test()
sh'''
cd ${WKC}/tests
@ -117,6 +118,7 @@ pipeline {
}
}
}
}
post {
success {
emailext (