Skip to Content
持續交付|使用Java
book

持續交付|使用Java

by Daniel Bryant, Abraham Marín-Pérez
July 2019
Intermediate to advanced
480 pages
9h 35m
Chinese
GoTop Information, Inc.
Content preview from 持續交付|使用Java
222
| 第九章
你學過的復審規則都適合這一種復審風格。你不能因為編寫程式的開發者不在你的辦公
室(或建築物或國家)工作而不試著同理他。
Gerrit:主觀的復審工具
Gerrit
https://www.gerritcodereview.com/
)最初是在 Google 內部製作的,它提
供主觀的 web 程式碼復審與存放區管理讓 Git 使用。正如同 Gerrit 網站上的討
論,當開發者進行修改時,它會被送到這個待決(pending)變動的存放區,讓
其他開發者可以復審、討論與批准那項變動。Gerrit 也會捕捉每一個變動的筆
記與評論。當這項變動被足夠的復審者批准之後,它就可以成為基礎程式的官
方部分。雖然 GitHub GitLab Git 平台都可以在一個 pull 請求裡面做多次
提交,但 Gerrit 不行:一個程式碼變動就是一次提交,無論它是加入功能還是
修正 bug,而且討論會圍繞著它展開。
將組建自動化
下一章會探討更多關於組建自動化的內容,重點是從管道進行部署與釋出,但它們也是
CI 的關鍵程序。雖然 Maven Gradle 等組建工具都可讓每位開發者在本地機器上執行
組建程序,但我們仍然需要一個中心來組建整合後的程式碼,我們通常會使用組建伺服
器(例如 Jenkins TeamCity)或組建服務(例如 CircleCI Travis CI)來做這件事。
Jenkins
https://github.com/danielbryantuk/oreilly-docker ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
精通機器學習|使用Python

精通機器學習|使用Python

Sarah Guido, Andreas C. Mueller
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey

Publisher Resources

ISBN: 9789865021740