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

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

问题描述

我们知道这是好事,但我发现自己向我的雇主证明是正确的。

解决方案

使用构建服务器有多个原因。没有特定的顺序和我的头顶:


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

    您的构建服务器可以复制您的目标环境(操作系统等),并且在开发人员的桌面上工作并打破生产的机会较少。


  2. 虽然开发人员测试他们签入的所有内容是一个很好的做法,但有时他们只是没有。


  3. 集中式构建可以方便地访问代码指标 - - 哪些测试通过,哪些测试失败,多长时间,测试代码覆盖程度如何等等。通过提供及时的反馈,可以快速修复错误,从而降低维护和测试成本,降低维护和测试成本


  4. 产品部署简化 - 开发人员或QA不必记住多个手动步骤。


  5. 简化了开发人员和质量保证之间的联系。


  6. 可以轻松地为发布分支设置版本,提供额外的安全网产品在发布阶段,在进行代码更改时必须格外小心。



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. 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.

  2. 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.

  3. 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.

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

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

  6. 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天全站免登陆