提交 2eb41816 编写于 作者: L liuyq-617

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

上级 0fb5c69e
...@@ -105,6 +105,7 @@ pipeline { ...@@ -105,6 +105,7 @@ pipeline {
abort_previous() abort_previous()
abortPreviousBuilds() abortPreviousBuilds()
} }
timeout(time: 45, unit: 'MINUTES'){
pre_test() pre_test()
sh''' sh'''
cd ${WKC}/tests cd ${WKC}/tests
...@@ -117,6 +118,7 @@ pipeline { ...@@ -117,6 +118,7 @@ pipeline {
} }
} }
} }
}
post { post {
success { success {
emailext ( emailext (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册