提交 b7a96027 编写于 作者: T tangfangzhi

skip document related PR test

上级 ffaebca9
...@@ -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,14 +276,16 @@ pipeline { ...@@ -269,14 +276,16 @@ pipeline {
date date
hostname hostname
''' '''
timeout(time: 60, unit: 'MINUTES') { catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
sh ''' timeout(time: 20, unit: 'MINUTES') {
date sh '''
cd ${WKC}/tests/parallel_test date
time ./run.sh -m m.json -t cases.task -l ${LOGDIR} -b ${BRANCH_NAME} cd ${WKC}/tests/parallel_test
date time ./run.sh -m m.json -t cases.task -l ${LOGDIR} -b ${BRANCH_NAME}
hostname date
''' hostname
'''
}
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册