Hudson/Jenkins Git build all branches

后端 未结 4 1919
面向向阳花
面向向阳花 2021-01-31 08:29

We have a lot of developers creating feature branches that I would like to build. Nightly we run a code quality tool that needs to run on every branch. I also would not like a s

4条回答
  •  没有蜡笔的小新
    2021-01-31 09:09

    Old question but somewhat more fitting answer. The multi-branch plugin below allows you to create a build item type that fans out sub-projects with branches, syncing config automatically from top level to sub-projects

    https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin

    For a somewhat more involved approach, Seed plugin gives you a lot of flexibility defining sub-jobs

    https://github.com/jenkinsci/seed-plugin/wiki

提交回复
热议问题