Skip to Content
Java持续交付
book

Java持续交付

by Daniel Bryant, Abraham Marín-Pérez
November 2019
Beginner to intermediate
406 pages
9h 21m
Chinese
Publishing House of Electronics Industry
Content preview from Java持续交付
总结
201
这可能会给开发团队带来一些麻烦,因为不仅应用程序组件的变化会导致团队之间
的摩擦,底层部署架构的变化更是如此。开发人员在调试时会遇到大量的“迷之事
件”,无法确定是谁破坏了构建,究竟是他们自己、另一个开发团队,还是平台团队。
根据经验,我们建议为开发团队和平台团队提供单独的
CI/CD
管道和环境。
当平台准备发布一个新版本时,应该获得开发团队负责人的批准,平台团队在将最
新版本部署到开发或者
QA
环境之前,应该向其他团队演示新的功能,以及任何重
大的变更事项。
总结
在本章中,你已经从技术和团队两个方面,了解了实施持续交付的多个核心组件,如下
所示
y
强烈建议你使用分布式的版本控制系统(
DVCS
),
Git
来管理持续交付管道中
的代码。如果你仍然使用中心式的
VCS
,我们强烈建议你升级到
DVCS
y
在互联网上存在大量关于各种
DVCS
工作流程的讨论和分享。你可以根据企业的
需求、应用程序架构、团队技能,选择最适合自己团队的一种。
y
DVCS
工作流选择合适的工具(例如,使用
GitHub/Hub
来实现基于分支的开
发流程,使用
nvie/Gitflow
来实现基于
Gitflow
的开发流程)。
y
实现所有构建的自动化,并确保无论在
Jenkins
等本地构建服务器上,还是在
TravisCI
等在线构建平台上,都可以成功完成构建。
y
当构建失败时,团队最高优先级的工作应该是解决当前问题。永远不要在构建失
败的版本上再提交更多的代码。一旦人们认为构建服务器不可靠,对工作流程和
代码质量的遵守也将迅速下降,最终导致出现更严重的问题。 ...
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

Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
Java性能优化实践:JVM调优策略、工具与技巧

Java性能优化实践:JVM调优策略、工具与技巧

Benjamin J. Evans, James Gough, Chris Newland
Python和NLTK实现自然语言处理

Python和NLTK实现自然语言处理

Posts & Telecom Press, Nitin Hardeniya
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9787121374425