问题:最近Jenkins上加了很项目和项目分支,执行scan所有分支都会构建,这样会引起冲突
解决方法安装branch-api-plugin
文档:https://github.com/jenkinsci/branch-api-plugin/blob/master/docs/user.adoc#suppress-automatic-scm-triggering
在jenkins的Manage Pluging中找到branch-api并安装
在多分支的项目配置中设置Branch source→Add property→Suppress automatic SCM triggering