请输入您要查询的百科知识:

 

词条 Build automation
释义

  1. Overview

  2. Build-automation utilities

  3. Build-automation servers

  4. Distributed build automation

  5. Relationship to Continuous Delivery and Continuous Integration

  6. Advantages

  7. See also

  8. References

{{Software development process}}

Build automation is the process of automating the creation of a software build and the associated processes including: compiling computer source code into binary code, packaging binary code, and running automated tests.

Overview

Historically, build automation was accomplished through makefiles. Today, there are two general categories of tools:[1]

Build-automation utility (like
//Make (software)">Make, Rake, Cake, MS build, Ant, Gradle etc.): Whose primary purpose is to generate build artifacts through activities like compiling and linking source code.
Build-automation servers
These are general web based tools that execute build-automation utilities on a scheduled or triggered basis; a continuous integration server is a type of build-automation server.

Depending on the level of automation the following classification is possible:

  • Makefile - level
    • Make-based tools
    • Non-Make-based tools
  • Build script (or Makefile) generation tools
  • Continuous-integration tools
  • Configuration-management tools
  • Meta-build tools or package managers
  • Other

A software list for each can be found in list of build automation software.

Build-automation utilities

Build-automation utilities allow the automation of simple, repeatable tasks. When using the tool, it will calculate how to reach the goal by executing tasks in the correct, specific order and running each task. The two ways build tools differ are task-oriented vs. product-oriented. Task-oriented tools describe the dependency of networks in terms of a specific set task and product-oriented tools describe things in terms of the products they generate.[2]

Build-automation servers

Although build servers existed long before continuous-integration servers, they are generally synonymous with continuous-integration servers, however a build server may also be incorporated into an ARA tool or ALM tool.

Server types
  • On-demand automation such as a user running a script at the command line
  • Scheduled automation such as a continuous integration server running a nightly build
  • Triggered automation such as a continuous integration server running a build on every commit to a version-control system.

Distributed build automation

Automation is achieved through the use of a compile farm for either distributed compilation or the execution of the utility step.[3] The distributed build process must have machine intelligence to understand the source-code dependencies to execute the distributed build.

Relationship to Continuous Delivery and Continuous Integration

Build automation is considered the first step in moving toward implementing a culture of Continuous Delivery and DevOps. Build automation combined with Continuous Integration, deployment, application-release automation, and many other processes help move an organization forward in establishing software-delivery best practices.[4]{{how|date=January 2018}}

Advantages

The advantages of build automation to software development projects include

  • A necessary pre-condition for continuous integration and continuous testing
  • Improve product quality
  • Accelerate the compile and link processing
  • Eliminate redundant tasks
  • Minimize "bad builds"
  • Eliminate dependencies on key personnel
  • Have history of builds and releases in order to investigate issues
  • Save time and money - because of the reasons listed above.[5]

See also

{{div col|colwidth=30em|content=
  • Application-release automation (ARA)
  • Continuous configuration automation (CCA)
  • Continuous integration (CI)
  • Continuous delivery (CD)
  • Continuous testing
  • DevOps
  • List of build automation software
  • Product family engineering
  • Release engineering (RE)
  • Software configuration management (SCM)
  • Unit testing

}}

References

1. ^{{cite book |last=Ceruzzi |first=Paul E. |date=2003 |title=A history of Modern computing |publisher= The MIT Press |isbn=978-0262532037}}
2. ^{{cite book |last=Clark |first=Mike |date=2004 |title=Pragmatic Project Automation: How to Build, Deploy, and Monitor Java Apps |publisher= The Pragmatic Programmers. |isbn=978-0974514031}}
3. ^{{cite journal |last= Enos |first= Joe |date= 2013 |title= Automated Builds: The Key to Consistency |url= http://www.infoq.com/articles/Automated-Builds |journal= InfoQ |publisher= C4Media Inc. |access-date= September 16, 2015}}
4. ^{{cite book |last1=Bashan |first1=Shmuel |last2=Bellagio |first2= David E. |date=2011 |title=Work Item Management with IBM Rational ClearQuest and Jazz: A customization Guide |publisher= IBM Press |isbn=978-0137001798}}
5. ^{{cite web|url=http://www.denverjug.org/meetings/files/200410_automation.pdf |title=Archived copy |accessdate=2008-09-19 |deadurl=yes |archiveurl=https://web.archive.org/web/20081123044304/http://www.denverjug.org/meetings/files/200410_automation.pdf |archivedate=2008-11-23 |df= }}
{{DEFAULTSORT:Build Automation}}

2 : Build automation|Types of tools used in software development

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 20:30:00