推荐序一
In one of the recent online discussions,which is about what needs to be done to Jenkins, the top request was that we dont need any new features, just tell us what Jenkins is capable of. This is definitely more true in China, where the language barrier and other factors make it difficult to access knowledge online. I grew up in Japan, so I know this from my own personal experience!
So I was really excited to hear about this translation project. This also comes in the right moment as the Jenkins community is growing in China rapidly, from our localization effort, WeChat presence, to various conference appearances.
May this book in Chinese be an important source of knowledge as many more Chinese software engineering teams seek better software development process.
Kohsuke Kawaguchi Jenkins 创始人
推荐序二
Jenkins,你是我们的超级英雄!
With great power comes great responsibility.
2004年,Jenkins创始人Kohsuke Kawaguchi(KK)发布了Hudson(Jenkins的前身)的第一个版本。15年过去了,从简单的自动化工具,到持续集成工具,再到持续交付DevOps的核心工具平台,Jenkins的功能不断增强,插件越来越丰富,其已经成长为我们的超级英雄,守护我们更高效地研发、测试和交付高质量且安全的软件与服务。
对于研发工程师而言,Jenkins可以帮助我们进行自动化构建与持续集成。
对于测试工程师而言,Jenkins可以帮助我们进行自动化测试。
对于运维工程师而言,Jenkins可以帮助我们进行自动化部署。
在2018年的DevOps World|Jenkins World旧金山大会上,KK也发布了Jenkins的五大超能力(Jenkins Superpower):
1.Jenkins Pipeline:流水线(Pipeline)与Blue Ocean的搭配,让你轻松驾驭持续交付的核心实践流水线。
2.Jenkins Evergreen:常青树项目,可以帮助我们自动化升级Jenkins Master。
3.Configuration As Code:配置即代码,由丹麦爱好者贡献的特性,让你可以像管理代码一样管理Jenkins的系统配置。
4.Cloud Native Jenkins:云原生Jenkins,让Jenkins更适合在公有云与私有云环境下运行。
5.Jenkins X:面向Kubernetes的云原生应用CICD解决方案。
如今的Jenkins,就像钢铁侠一样,拥有许多顶级武器装备(包括但不限于上述你看到的这些)。那么,你如何快速读懂这位超级英雄呢?你需要一本手册。没错,正是你手中的这本《Jenkins 2权威指南》。
本书作者倾囊相授了关于Jenkins 2的详细使用方法(重点聚焦在流水线的使用上)、Jenkins API的使用、DevOps相关工具链的集成等非常有实操意义的知识。正如开源大神Linux之父Linus Torvalds所说:Talk is cheap. Show me the code.本书还附带了很多Jenkinsfile编写样例。本书作者Brent Laster来自SAS(全球最大的软件公司之一),他将自己多年的Jenkins实战经验融入书中,相信可以满足读者日常的大部分需求。
Jenkins在中国这片土地上非常受欢迎,已经成为中国地区DevOps践行的事实标准。根据2017年DevOps时代社区的调查数据显示,86%的中国用户选择了Jenkins作为持续交付的核心工具链。
与此同时,随着中国IT力量的崛起,我们不再只是使用者与跟随者,越来越多的爱好者开始参与Jenkins社区的建设。2017年,首届Jenkins用户大会落地中国上海(KK亲临现场并做精彩分享),并且Jenkins Area Meetup也在中国大地盛开。2018年,景韵同学有幸与本书中的两位译者石雪峰、雷涛一起成为首批Jenkins Ambassador(Jenkins全球推广大使),并且代表中国的Jenkins社区推动者们Jenkins Pipeline Experts Group(简称JPEG)获得了KK亲自颁发的Most Valuable Advocate(最有价值支持者)奖项。
这一年,中国的Jenkins用户有了自己专属的LogoKong Fu Jenkins。
这一年,Jenkins官网有了中文站,越来越多的爱好者开始参与Jenkins中文站的建设。
这一年,我们一起让Jenkins国际社区听到了来自中国的声音。
新的一年,新的征程。我们热烈期待Jenkins在新的形势下锐意进取,继续站在时代的浪潮之巅。
感谢4位译者郝树伟、石雪峰、雷涛、李华强,以及博文视点的编辑付睿、李云静同学付出的非凡努力,感谢你们为我们奉上如此精彩的书籍。翻译技术书籍是一份辛苦的工作,我们亲历了4位译者字斟句酌、精益求精的过程,向你们致敬。
萧田国
DevOps时代社区联合创始人、高效运维社区创始人
Jenkins User Conference China联合发起人
景韵
DevOps时代社区联合创始人
Jenkins Ambassador(Jenkins全球推广大使)
Jenkins User Conference China联合发起人
2019年2月28日
中文版序
In 2015, I had the privilege of travelling to China and presenting several corporate training workshops, including ones on Jenkins. It was a memorable experience as I had the opportunity to work with many talented individuals who wanted to learn more about Jenkins and CICD. But the challenge for my students was that I could only present in English. I recalled
at that time that I could make the presentation and training materials available in Chinese for everyone. But I did not have the knowledge or resources to accomplish that. I am thankful now that there is an opportunity to accomplish that for this book.
I wrote Jenkins 2 ? Up and Running to help people understand the evolution of Jenkins ? an evolution that continues today. In a recent keynote presentation at DevOps world, Kohsuke Kawaguchi spoke of the ?5 superpowers? of Jenkins that are being worked on: Jenkins Pipeline, Jenkins Evergreen, Configuration as Code, Cloud Native Jenkins, and Jenkins X. Jenkins Pipeline is at the front of this list for a reason. It represents the starting point for the initial evolution from the traditional Jenkins product. It is my hope that this book will provide the reader with a valuable foundation for understanding Jenkins Pipeline. And it is also my hope that it will inspire curiosity and interest around the other items in Kohsukes list.