Questions tagged [build-automation]

Build automation is the act of scripting or automating tasks like compiling, packaging, running tests, deployment etc.

Build automation is the act of scripting or automating a wide variety of tasks that software developers do in their day-to-day activities including things like:

  • Compiling computer source code into binary code
  • Packaging binary code
  • Running tests
  • Deployment to production systems
  • Creating documentation and/or release notes

Advantages

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

See also , and .

1857 questions
24
votes
20 answers

What strategies have you used to improve build times on large projects?

I once worked on a C++ project that took about an hour and a half for a full rebuild. Small edit, build, test cycles took about 5 to 10 minutes. It was an unproductive nightmare. What is the worst build times you ever had to handle? What strategies…
Rik Heywood
  • 13,816
  • 9
  • 61
  • 81
23
votes
4 answers

How to decrease MSBuild times

My situation In the C# project I am now working on we have a fairly big solution (80+ projects). Now rebuild times of 5 minutes+ are really becoming quite a problem using MSBuild from Visual Studio 2008. In an analysis I did last week it turned out…
Martijn Muurman
23
votes
5 answers

Cruise Control .Net vs Team Foundation Build

Our team is setting up nightly and continuous integration builds. We own Team Foundation Server and could use Team Foundation Build. I'm more familiar with CC.Net and lean that way but management sees all the money spent on TFS and wants to use…
23
votes
15 answers

Ant is not able to delete some files on windows

I have an ant build that makes directories, calls javac and all the regular stuff. The issue I am having is that when I try to do a clean (delete all the stuff that was generated) the delete task reports that is was unable to delete some files. When…
Honza
  • 4,349
  • 2
  • 24
  • 40
23
votes
6 answers

What are some arguments against using Continuous Integration?

I can think of plenty of good reasons to using it; however, what are the downsides to it? (Apart from buying another server) What are some advantages to using a daily build instead of it?
TraumaPony
  • 10,742
  • 12
  • 54
  • 74
23
votes
5 answers

Template plugin for Jenkins

Is there any plugin available in Jenkins which allows you to reuse shared configuration across the jobs.. e.g I can define a template for Continuous Integration and other template for Running Tests and create multiple jobs from these template for…
22
votes
2 answers

Automatic running of unit tests on build

I would love to know if there is a way I can get Visual Studio to run unit tests corresponding to a given assembly whenever I build it. Given a solution containing projects structured like this: Assembly1 Assembly1.Tests Assembly2…
David
  • 15,750
  • 22
  • 90
  • 150
22
votes
3 answers

PL/SQL pre-compile and Code Quality checks in an automated build environment?

We build software using Hudson and Maven. We have C#, java and last, but not least PL/SQL sources (sprocs, packages, DDL, crud) For C# and Java we do unit tests and code analysis, but we don't really know the health of our PL/SQL sources before we…
22
votes
3 answers

Delphi Build Automation and Continuous Integration feasible using MS Build only?

I am looking to implement a continuous unit test running system, something I have heard called a "smoketest" or "tinderbox", (a build server that does clean version control check-outs and full system builds of everything in a given source repository…
Warren P
  • 65,725
  • 40
  • 181
  • 316
22
votes
2 answers

Automated deployment PHP in CI environment (Jenkins)

I'm currently looking into setting up a strong CI & deployment environment for a project shared across a small team of developers. Objective is to bring some consistency in the way things are tested, in the overall code quality and in the way…
LEM01
  • 871
  • 3
  • 15
  • 23
21
votes
3 answers

Building Qt Creator projects from command line

I'm in the process of writing a build script to automate build and release tasks. I have a Qt Creator project which has three configurations, two of which I want to completely rebuild from scratch without any precompiled headers and existing .o…
Tamás Szelei
  • 23,169
  • 18
  • 105
  • 180
21
votes
7 answers

Why choose Buckminster over Maven?

I've been using Maven for several months and I am pretty comfortable with how it works conceptually and in practice. I have also looked at Buckminster quite extensively (but have not gotten to running samples yet) to try and figure out what it…
Dave Stenglein
  • 1,420
  • 1
  • 12
  • 14
21
votes
5 answers

Is there a way to generalize an Apache ANT target?

We have an Apache ANT script to build our application, then check in the resulting JAR file into version control (VSS in this case). However, now we have a change that requires us to build 2 JAR files for this project, then check both into VSS. The…
Tim Frey
  • 9,901
  • 9
  • 44
  • 60
21
votes
3 answers

Continuous Integration server for C++ - What about library dependencies?

I am currently researching a good setup for a continuous integration server which would build various C++ applications for several Linux distributions. My primary question is how other users here have handled the differences in system libraries…
Joe
  • 619
  • 1
  • 5
  • 5
21
votes
6 answers

Where should unit tests live?

I'm relatively new to unit testing, and I've discovered that while many sources say that you should write unit tests, few of them give any indication where to put them in your project. The only suggestions that I've seen are to put them alongside…
derekerdmann
  • 17,696
  • 11
  • 76
  • 110