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
31
votes
2 answers

Phing and Composer, which way around?

I want to use both Phing and Composer for my applications. Phing as the build system and Composer to manage dependencies. But which way around should they be used? Currently we're installing Phing globally on all servers. Phing is supposed to…
29
votes
5 answers

Make/makefile progress indication!

Look at this makefile, it has some sort of primitive progress indication (could have been a progress bar). Please give me suggestions/comments on it! # BUILD is initially undefined ifndef BUILD # max equals 256 x's sixteen := x x x x x x x x x x…
Giovanni Funchal
  • 8,934
  • 13
  • 61
  • 110
28
votes
6 answers

Build server / continuous integration recommendation for C++ / Qt-based projects

I'm looking to implement a build server for Qt-based C++ projects. The server needs to check out the necessary code / assets from Subversion, build the executable files, assemble the artifacts for installation projects, and build the installation…
Dave Mateer
  • 17,608
  • 15
  • 96
  • 149
28
votes
8 answers

Why should my development team have a build server?

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.
H. Abraham Chavez
  • 828
  • 2
  • 8
  • 20
28
votes
18 answers

Should I switch from nant to msbuild?

I currently use nant, ccnet (cruise control), svn, mbunit. I use msbuild to do my sln build just because it was simpler to shell out. Are there any merits to switching my whole build script to MSBuild? I need to be able to run tests, watir style…
DevelopingChris
  • 39,797
  • 30
  • 87
  • 118
27
votes
4 answers

Maven vs Ant for automatic builds in Android applications

I'm evaluating whether to use Ant or Maven to automate my build process for Android development. I've been trying to read online to make an informed decision, but haven't found many specifics that relate to Android development. Based on your…
bluediapente
  • 3,946
  • 5
  • 32
  • 38
27
votes
2 answers

How do I deploy automated builds to TestFlight from an Xcode Bot?

I spent a good amount of time formatting the mentioned blog with code, screenshots, and etc. that is too much effort to duplicate here on Stack Overflow. That said I figured the community would want some help in this arena (I struggled for a long…
27
votes
8 answers

Improving Your Build Process

Or, actually establishing a build process when there isn't much of one in place to begin with. Currently, that's pretty much the situation my group faces. We do web-app development primarily (but no desktop development at this time). Software…
peacedog
  • 1,415
  • 20
  • 32
27
votes
2 answers

How to make MSBuild to automatically copy all indirect references to output (bin) folder

Subj. "Automatically" is essential here. References from GAC must not be copied. I've seen e.g. VS2008.NET: Getting a referenced project’s dependencies to copy to main project’s bin folder, and this isn't interesting for me. I'd like all the…
Alex Yakunin
  • 6,330
  • 3
  • 33
  • 52
26
votes
4 answers

How does ivy:publish work?

I'm completely at loss how the ant task ivy:publish is supposed to work. I would expect that I do my normal build, which creates a bunch of jar files, then I would push those jars to the (local) repository. How can I specify from where to retrieve…
Mauli
  • 16,863
  • 27
  • 87
  • 114
25
votes
3 answers

Run a Visual Studio custom tool at build time

I have a script that will convert a text file into a resource file, so that I can have multiple language support by having text files for different languages converted into different resources. Once I run the script to get the resx file, I then…
mmr
  • 14,781
  • 29
  • 95
  • 145
25
votes
5 answers

Do you use Phing?

Does anyone use Phing to deploy PHP applications, and if so how do you use it? We currently have a hand-written "setup" script that we run whenever we deploy a new instance of our project. We just check out from SVN and run it. It sets some basic…
Sam McAfee
  • 10,057
  • 15
  • 60
  • 64
25
votes
1 answer

What is the best way of automating Windows Service deployment?

I have created a windows service using C# in Visual Studio 2010. I did a lot of research about automating the installation process. Got lots of advice but none did work for me. The windows service i have created has lots of dependencies and i would…
user2133617
24
votes
1 answer

What does "mvn -P" do?

I have been told to use mvn clean install -P base at work for a particular task. I am trying to find what it exactly means. According to https://maven.apache.org/archives/maven-1.x/reference/command-line.html , -P lists all available plugins; and -p…
Gadam
  • 2,674
  • 8
  • 37
  • 56
24
votes
5 answers

Making Jenkins (Hudson) job depend on another job

I have two jobs: Upload Launch-instance I want to make Launch-instance dependent on the other one, so that triggering Launch-instance automatically causes Upload to be run first. Can I achieve this using built-in Jenkins features or with a…
Jonik
  • 80,077
  • 70
  • 264
  • 372