瀑布WaterFall模型和Agile敏捷开发模型
-
敏捷开发要求小步快跑,快速迭代
image.png
什么是持续集成
-
频繁地(一天多次)将代码集成到主干
image.png
持续集成给测试带来的优点
Continuous Integration doesn't get rid of bugs, but it does make them dramatically easier to find and remove.——Martin Fowler, Chief Scientist, ThoughtWorks
快速发现错误:每完成一点更新,就集成到对应的分支,可以快速发现错误,定位错误也比较容易。
防止分支大幅度偏离主干:如果不是经常集成,分支或者主干又在不断更新,会导致以后集成的难度变大,甚至难以集成。
持续集成流程-CI

image.png

image.png
持续集成管理工具-CI
Jenkins优势明显

image.png
- Source Control Management or the Version Control Management
- https://en.wikipedia.org/wiki/Comparison_of_continuous_integration_software

image.png
Jenkins的优势
- Open Source 10+ years millions of users
- 超大量的安装数目(>23000) (Jul 2010)
- 超丰富的插件支持(>370 Plugins)
- 支持几乎所有的source control management和 Version control management tools

