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
42
votes
4 answers

Configure Intellij IDEA to run batch file

I'm using InteliJ IDEA (Community addition) and I found myself doing some file transfers to and from the project folder. After reapeating the task for a while I've created some batch scripts that transfering the files automaticly. Now, I'll be much…
yossico
  • 3,421
  • 5
  • 41
  • 76
41
votes
1 answer

Have CMake recursively scan folders?

How do I set up CMake to recursively scan a given directory and determine the list of source files? My project is a shared library. I have a folder structure similar to this: / src/ # Source files in an arbitrary tree include/ …
Matheus Moreira
  • 17,106
  • 3
  • 68
  • 107
41
votes
3 answers

How can I configure Hudson to send an email for EVERY build, not just those that change the project's status?

I've recently migrated my CI server from an old version of CruiseControl to Hudson. The only feature I miss from CruiseControl is the ability to receive email build notices of EVERY build, not just those that cause the status of the project to…
Jared
  • 25,520
  • 24
  • 79
  • 114
41
votes
6 answers

How to synchronise the publish version to the assembly version in a .NET ClickOnce application?

In my C# ClickOnce application, there is an auto-incremented publish version in the Project -> Properties -> Publish tab. I'd like to display that version in my menu Help -> About box, but the code I'm using apparently accesses the assembly Version,…
Randy Gamage
  • 1,801
  • 6
  • 22
  • 31
40
votes
4 answers

How to make System command calls in Java/Groovy?

What I want to do is invoke maven from a groovy script. The groovy script in question is used as a maven wrapper to build J2EE projects by downloading a tag and invoking maven on what was downloaded. How should I accomplish invoking maven to…
Zombies
  • 25,039
  • 43
  • 140
  • 225
40
votes
4 answers

Move a text file into target folder when compiling a Maven project

I have a slight different version of the question that I made recently. I have a Maven project under Netbeans 7.3, which doesn't have any build.xml file to configure building options, while there is the pom.xml that I use to import other libraries.…
mat_boy
  • 12,998
  • 22
  • 72
  • 116
38
votes
6 answers

which build tool(s) do you recommend for python?

I'm starting a small/medium-sized python project, likely in Test Driven Development. My backgrounds are more in C and java than python (I used ant and makefile) I know that in python you might not need a build tool, but I will, because I'll use…
Davide
  • 17,098
  • 11
  • 52
  • 68
36
votes
10 answers

How do you determine the latest SVN revision number rooted in a directory?

I would like to start tagging my deployed binaries with the latest SVN revision number. However, because SVN is file-based and not directory/project-based, I need to scan through all the directory's and subdirectory's files in order to determine the…
Frank Krueger
  • 69,552
  • 46
  • 163
  • 208
35
votes
8 answers

How to build a CD ISO image file from the windows command line?

In an effort to satisfy "The Joel Test" question #2 "Can you make a build in one step?", I'm trying to complete a release candidate build script with the creation of a CD iso from the collection of files gathered and generated by the installer…
Peter
  • 1,488
  • 2
  • 17
  • 23
34
votes
10 answers

What's with all the Java Build tools?

what's the point of using ant, maven, and buildr? won't the using build in eclipse or netbeans work fine? i'm just curious what the purpose and benefit of extended build tools are.
cesar
  • 8,944
  • 12
  • 46
  • 59
33
votes
8 answers

Sharing build artifacts between jobs in Hudson

I'm trying to set up our build process in hudson. Job 1 will be a super fast (hopefully) continuous integration build job that will be built frequently. Job 2, will be responsible for running a comprehensive test suite, at a regular interval or…
32
votes
31 answers

What are the cool and interesting things that you do during build-automation?

I am just curious to see what others are doing during build-automation other than usual compile, build, run-tests, etc tasks that might be helpful and inspirational for others to consider and look into such as: Generating code documentation Using…
Mehmet Aras
  • 5,284
  • 1
  • 25
  • 32
31
votes
3 answers

Delphi MSBuild Build Configurations From Command Line

Delphi 2009 uses build configurations. When you create a new project you have two default build configurations "Debug" and "Release". Now I asked myself how to automate builds using MSBuild (which is supported by Delphi since version 2007). You can…
ulrichb
  • 19,610
  • 8
  • 73
  • 87
31
votes
4 answers

How do I remove app from iOS 8 Simulator from command line?

I have an automation running in the iOS Simulator that I have to remove before another run. How do I remove the app from the iOS Simulator from the command line? For each simulator device directory (located at…
Frank
  • 967
  • 1
  • 7
  • 12
31
votes
3 answers

Recursive CMake search for header and source files

I am new to CMake and would like to ask if somebody can help in the following problem. I have C++ source and header files in their respective folders and now, I want to make a CMake text file that recursively searches for them. Currently, I am…
Sanchit
  • 3,180
  • 8
  • 37
  • 53