ks-devops icon indicating copy to clipboard operation
ks-devops copied to clipboard

don't automatic run pipeline when scan the code-repo for some branchs

Open yudong2015 opened this issue 2 years ago • 1 comments

What is version of KubeSphere DevOps has the issue?

3.4.0

How did you install the Kubernetes? Or what is the Kubernetes distribution?

No response

Describe this feature

Now the pipeline will automatic run when scan the code-repo for multi-branch;

Want: support to config if automatic run pipeline when scan the code-repo;

Additional information

How:

在配置里选择这个 Property strategy 下面的 Exceptions 然后 Add exception,在 branch name 里输入想要忽略构建的分支名,再Add property,选择 Suppress automatic SCM triggering,这样扫描仓库的时候,不会自动构建忽略的分支;

yudong2015 avatar Jun 16 '23 07:06 yudong2015

same as https://github.com/kubesphere/ks-devops/issues/103

chilianyi avatar Jul 28 '23 11:07 chilianyi