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