为什么我的开发团队应该有构建服务器? [英] Why should my development team have a build server?

查看:27
本文介绍了为什么我的开发团队应该有构建服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们知道这样做很好,但我发现自己向我的雇主证明了这一点.请说明开发团队需要构建服务器的原因.

We know this is good to have, but I find myself justifying it to my employer. Please pitch in on why a development team needs a build server.

推荐答案

使用构建服务器有多种原因.没有特别的顺序,我的脑海中浮现:

There are multiple reasons to use build servers. In no particular order and off the top of my head:

  1. 您可以简化开发人员的工作流程并减少出错的机会.您的构建服务器可以处理多个步骤,例如检查最新代码、安装所需的软件等.开发人员不可能在他们的机器上拥有一些可能导致构建看似随机通过或失败的杂散 DLL.

  1. You simplify the developers' workflow and reduce the chance of mistakes. Your build server can take care of multiple steps such as checking out latest code, having required software installed, etc. There's no chance of a developer having some stray DLLs on their machine that can cause the build to pass or fail seemingly at random.

您的构建服务器可以复制您的目标环境(操作系统等),并且某些东西在开发人员的桌面上运行并在生产中中断的可能性较小.

Your build server can replicate your target environment (operating system, etc.) and there's less of a chance of something working on developers' desktops and breaking in production.

虽然对于开发人员来说,测试他们签入的所有内容是一种很好的做法,但有时他们只是不这样做.然后最好有构建服务器来捕获测试错误并让团队知道产品已损坏.

While it's a good practice for developers to test everything they check in, sometimes they just don't. Then it's good to have the build server there to catch test errors and let the team know the product is broken.

集中式构建提供了对代码指标的轻松访问——哪些测试通过了,哪些测试失败了,多久一次,你的代码被测试覆盖的程度等.对代码库的质量状态有深入的了解可以减少通过提供及时的反馈可以快速轻松地修复错误,从而降低维护和测试成本.

Centralized builds provide easy access to code metrics -- which tests passed, which failed, how often, how well is your code covered by your tests, etc. Having a solid understanding of the quality state of the codebase reduces maintenance and testing costs by providing timely feedback that allows errors to be fixed quickly and easily.

简化了产品部署——开发人员或 QA 无需记住多个手动步骤.它可以轻松实现自动化.

Product deployment is simplified -- the developer or QA doesn't have to remember multiple manual steps. It can be easily automated.

简化了开发人员和 QA 之间的联系.QA 人员可以到已知位置获取最新的、正确版本的构建.

The link between developers and QA is simplified. QA personnel can go to a known location to grab latest, propertly versioned builds.

很容易为发布分支设置构建,为处于发布阶段的产品提供额外的安全网,当进行代码更改时必须格外小心.

It's easy to set up builds for release branches, providing an extra safety net for products in their release stage, when making code changes must be done with extra care.

这篇关于为什么我的开发团队应该有构建服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆