未验证 提交 cdcb2b1a 编写于 作者: Y Yiqing Liu 提交者: GitHub

[TD-10733]skip CI by default for docs/* branch (#8368)

* [TD-10733]skip CI by default for docs/* branch

* fix error

* udpate jenkinsfile
上级 754f5724
......@@ -201,8 +201,8 @@ pipeline {
stages {
stage('pre_build'){
agent{label 'master'}
when {
changeRequest()
when{
changeRequest()
}
steps {
script{
......@@ -255,6 +255,7 @@ pipeline {
expression{
return skipbuild.trim() == '2'
}
not{ expression { env.CHANGE_BRANCH =~ /docs\// }}
}
}
parallel {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册