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
21
votes
1 answer

How to build Visual Studio 2012 Publishing Profiles on a Build Server with MsBuild without installing Visual Studio 2012

I read through many of the posts on here and never found a clear answer that worked. So after spending the time getting this to work, I figured I should post it. Problem: The publishing profile would build on the server, but would not…
Dave
  • 629
  • 6
  • 11
21
votes
7 answers

How to optimize the startup time of an SCons script?

I have an SCons script that takes around 10 seconds just to find out that nothing needs to be rebuild, which feels awfully long for what is essentially a rather small project. Reading the SConscript itself takes just a second or two, most of the…
Grumbel
  • 6,585
  • 6
  • 39
  • 50
20
votes
7 answers

Is continuous integration worth it for small projects?

I've been pushing for continuous integration at my company since I joined 5 months ago, but having seen the type of applications we work on I'm starting to think that it might not be worth the effort of setting up each and every project for…
20
votes
5 answers

Why am I getting "could not find com.android.tools.build:gradle" error?

This is based off my last question as well. Following this tutorial, I cloned the project into my machine and am trying to get the project to build properly. In the process of fixing the error I got in my last question, I encountered a new error.…
20
votes
6 answers

Release signing in gradle.properties for Android

So I'm trying to convert all of my ant build scripts to gradle, and I've been able to find ample resources and documentation on all of it except how to configure signing in the gradle.properties file. ant.properties does it like…
Gnathonic
  • 906
  • 1
  • 8
  • 9
19
votes
1 answer

How to fully automate from build to .ipa file in xcode 4

In xcode 3, using a bash script, I could run xcode from the command line, then take the files in the build directory and zip them up into a .ipa file, allowing for a fully automated build process for my adhoc iOS distribution. Anytime there is…
Roger Gilbrat
  • 3,755
  • 5
  • 34
  • 58
19
votes
4 answers

Is there step-by-step tutorial on setting up CruiseControl.NET?

What to do automatic nightly build of .NET web application and upload to the test server. Or, if this tool is overkill, please suggest something else.
z-boss
  • 17,111
  • 12
  • 49
  • 81
19
votes
5 answers

Infragistics components on build server

I have "inherited" a new (old?) Winforms project and would like to put it onto our build server (Bamboo). That build server has only the absolute minimum (.NET 3.5 and not much more) installed, and we'd like to keep it that way. As a first step, I…
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
19
votes
4 answers

Assembly Versioning with TeamCity

I'm working on a C#/VB.Net project that uses SVN and TeamCity build server. A dozen or so assemblies are produced by the build. I want to control the assembly versions so that they all match up and also match the TeamCity build label. I've…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
19
votes
1 answer

TeamCity Build & Deploy: How do you pass dependent artifact paths to a script?

How do you pass the artifact paths to a script in TeamCity. The scenario is this Build Project Deploy Project (with an artifact dependency to #1) Step 2 consists of a a script which Stops a service (to unlock files) Copies the build artifacts to…
David Hayes
  • 7,402
  • 14
  • 50
  • 62
18
votes
12 answers

Is Python the right hammer for this nail? (build script)

Currently I'm using a Windows batch file to build my software. It does things like running MSBuild, copying files, creating a ZIP file, running some tests, including the subversion revision number, etc. But the problem is, batch files are evil. So I…
compie
  • 10,135
  • 15
  • 54
  • 78
18
votes
3 answers

C++ cross platform build automation

I have a cross platform C++ project that targets and successfully compiles on Linux, OSX and Windows. I'm using GNU Make to handle the building on all platforms, gcc for compiling under Linux & OSX and cl.exe to compile under Cygwin on windows. My…
dbotha
  • 1,501
  • 4
  • 20
  • 38
18
votes
1 answer

Call cmake from make to create Makefiles?

I am using cmake to build my project. For UNIX, I would like to type make from my project's root directory, and have cmake invoked to create the proper Makefiles (if they don't exist yet) and then build my project. I would like the cmake…
strager
  • 88,763
  • 26
  • 134
  • 176
18
votes
3 answers

Script Minification and Continuous Integration with MSBuild

On a recent project I have been working on in C#/ASP.NET I have some fairly complicated JavaScript files and some nifty Style Sheets. As these script resources grow in size it is advisable to minify the resources and keep your web pages as light as…
18
votes
4 answers

How can I unit test Flex applications from within the IDE or a build script?

I'm currently working on an application with a frontend written in Adobe Flex 3. I'm aware of FlexUnit but what I'd really like is a unit test runner for Ant/NAnt and a runner that integrates with the Flex Builder IDE (AKA Eclipse). Does one exist?…
Rytmis
  • 31,467
  • 8
  • 60
  • 69