"I need a build...", "Here you are!"

本文介绍了如何利用Jenkins自动化构建流程,有效解决开发团队中频繁的人工打包请求问题。通过配置Jenkins,实现持续集成,自动监控代码变更并触发构建,大大提升了开发效率和代码质量。

If you've ever worked as a dev team lead, you may already been bothered by a Project Manager or a Producer. They may come to your desk at the end of some day and ask you for a build. You have to stop what you're doing, and waste hours to prepare the build. You may have many problems, and the biggest problem is - maybe the latest code won't compile. You'll have to work over time, find and fix the issues, and finally deliver the build with your red eyes.

 

But maybe you can do it like the article title, simply "Here you are!". Sounds like magic, but with the power of Continuous Integration System, it became true. Continuous Integration System, or CIS in short, monitors SCM changes and initiate builds automatically. It releases you from the god-damn build requests.

 

There're many CIS products, one of the best is Jenkins (and it's free!), which is formally called Hudson. In Jenkins, you can create jobs to monitor SCM change (SVN, P4, Hg or whatever else if there's a matching plugin.), which helps you to check if current code could be compiled and linked. Also you could setup some nightly jobs to perform full builds, these jobs are usually scheduled to start at midnight and they are targeted to create deliverable builds. Jenkins stores the build outputs, and they can be easily accessed from your favorite web browser.

 

Now when the Project Manager or Producer asks you for a build, you can simple tell him/her, "Go get that build from our build machine!"

 

Reference:

Jenkins can be acquired from http://jenkins-ci.org/

转载于:https://www.cnblogs.com/wane/p/3369342.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值