提交 e99d8285 编写于 作者: T tangfangzhi

skip document related PR test

上级 06fb3400
...@@ -220,6 +220,13 @@ pipeline { ...@@ -220,6 +220,13 @@ pipeline {
} }
} }
stage('run test') { stage('run test') {
options { skipDefaultCheckout() }
when {
allOf {
changeRequest()
not { expression { env.CHANGE_BRANCH =~ /docs\// }}
}
}
parallel { parallel {
stage ('build worker06_arm64') { stage ('build worker06_arm64') {
agent {label " worker06_arm64 "} agent {label " worker06_arm64 "}
...@@ -269,7 +276,8 @@ pipeline { ...@@ -269,7 +276,8 @@ pipeline {
date date
hostname hostname
''' '''
timeout(time: 60, unit: 'MINUTES') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
timeout(time: 20, unit: 'MINUTES') {
sh ''' sh '''
date date
cd ${WKC}/tests/parallel_test cd ${WKC}/tests/parallel_test
...@@ -283,6 +291,7 @@ pipeline { ...@@ -283,6 +291,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.
先完成此消息的编辑!
想要评论请 注册