ks-devops
ks-devops copied to clipboard
don't automatic run pipeline when scan the code-repo for some branchs
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,这样扫描仓库的时候,不会自动构建忽略的分支;
same as https://github.com/kubesphere/ks-devops/issues/103