持續集成是一種軟件開發實踐。html
在持續集成中,團隊成員頻繁集成他們的工做成果,通常每人天天至少集成一次,也能夠屢次。git
每次集成會通過自動構建(包括自動測試)的檢驗,以儘快發現集成錯誤。web
關於持續集成,能夠閱讀Martin Fowler(馬丁·福勒 )的經典文章:http://www.martinfowler.com/articles/continuousIntegration.htmlapp
集成的頻率越高越好,更頻繁的集成意味着更早的發現問題。工具
經過持續集成,及時發現和解決代碼故障,提升代碼質量,減小故障處理成本等等。gitlab
當下持續集成工具不勝枚舉,開源的或商業的,可本地安裝的或Sass的,如:學習
持續集成工具技術選型(Jenkins VS Gitlab CI):測試
鑑於Gitlab CI與Gitlab集成的更友好,並且想嘗試下Gitlab CI + Docker,因而選擇了Gitlab CI作持續集成。ui
使用Gitlab CI進行持續集成實踐的流程:插件
參考:
https://about.gitlab.com/gitlab-ci/
http://stackoverflow.com/questions/37429453/gitlab-ci-vs-jenkins
https://about.gitlab.com/2016/07/22/building-our-web-app-on-gitlab-ci/
https://insights.sei.cmu.edu/devops/2015/01/continuous-integration-in-devops-1.html