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
99
votes
48 answers

Why does Maven have such a bad rep?

There is a lot of talk on the internet about how Maven is bad. I have been using some features of Maven for a few years now and the most important benefit in my view is the dependency management. Maven documentation is less than adequate, but…
Dan
  • 11,077
  • 20
  • 84
  • 119
98
votes
9 answers

Is there a Rake equivalent in Python?

Rake is a software build tool written in Ruby (like Ant or Make), and so all its files are written in this language. Does something like this exist in Python?
Bite code
  • 578,959
  • 113
  • 301
  • 329
97
votes
5 answers

Javascript web app and Java server, build all in Maven or use Grunt for web app?

We are doing a web application with AngularJS and we like the idea of using Bower for Dependency Management and Grunt for building, running tests etc. (Yeoman) The server is done with Java using Maven, so of course we would like with a simple mvn…
void
  • 1,484
  • 1
  • 15
  • 18
92
votes
17 answers

How do I clear my Jenkins/Hudson build history?

I recently updated the configuration of one of my hudson builds. The build history is out of sync. Is there a way to clear my build history? Please and thank you
Mahdi Yusuf
  • 19,931
  • 26
  • 72
  • 101
89
votes
5 answers

Perl build, unit testing, code coverage: A complete working example

Most Stackoverflow answers that I have found in regards to the Perl build process and unit testing and code coverage simply point me to CPAN for the documentation there. There's absolutely nothing wrong with pointing to CPAN modules because that's…
81
votes
10 answers

Why is there no need for Maven in .NET?

I have the impression, that in the .NET-world, there is no real need for a Maven-like tool. I am aware that there is Byldan and NMaven (is it still alive?), but I have not yet seen a real-world project that uses them. Also in most .NET projects I…
jbandi
  • 17,499
  • 9
  • 69
  • 81
81
votes
4 answers

Is it possible to alias a branch in Git?

I am looking into using Git on a massive scale. I was hoping to increase adoption and make things easier by calling the master branch trunk. This can and will give SVN users some feelings of comfort. I know I can create a branch called trunk, but…
ojblass
  • 21,146
  • 22
  • 83
  • 132
76
votes
10 answers

Timeout on a Build Step of Jenkins

In Jenkins, is there a way to give different timeouts to each or selected build step? Build-time plugin out gives functionality of timeout "Abort the build if it's stuck" on complete project, what I need is to give different timeouts for each step.…
rohits
  • 974
  • 1
  • 8
  • 12
76
votes
13 answers

WiX 3.0 throws error 217, while being executed by continuous integration

This is the error that is thrown by our automated build suite on Windows 2008, while running ICEs (after migrating from WiX 2.0 to WiX 3.0): LGHT0217: Error executing ICE action 'ICE01'. The most common cause of this kind of ICE failure is an…
Rinat Abdullin
  • 23,036
  • 8
  • 57
  • 80
75
votes
1 answer

Dump include paths from g++

I'm trying to write a little build script, and want to determine if the includes are system includes or not. So I want g++ to tell me the include path's it's using. cpp -v seems the obvious best shot, but it doesn't give me the C++ paths. So I…
Oliver
  • 2,361
  • 2
  • 17
  • 12
72
votes
16 answers

How can I get CMake to find my alternative Boost installation?

I have installed the most recent version of Boost in /usr/local (with includes in /usr/local/include/boost and libraries in /usr/local/lib/boost) and I am now attempting to install Wt from source, but CMake (version 2.6) can't seem to find the Boost…
BD at Rivenhill
  • 12,395
  • 10
  • 46
  • 49
70
votes
3 answers

Can we execute a .bat file in post build event command line in visual studio?

Can we execute a .bat file in post build event command line in visual studio?
67
votes
6 answers

Building C# solutions from command line with Visual Studio 2010

I want to automate the build process for my C# solutions. How can I build C# solutions from the command line so that I don't have to deal with dependencies manually?
alexfr
  • 1,161
  • 3
  • 12
  • 23
65
votes
4 answers

How do I force cmake to include "-pthread" option during compilation?

I know there is something like find_package(Threads) but it doesn't seem to make a difference (at least by itself). For now I'm using SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} "-pthread"), but it doesn't look like a correct solution to me.
Tomasz Grobelny
  • 2,666
  • 3
  • 33
  • 43
65
votes
14 answers

Is there an automatic code formatter for C#?

In my work I deal mostly with C# code nowadays, with a sprinkle of java from time to time. What I absolutely love about Eclipse (and I know people using it daily love it even more) is a sophisticated code formatter, able to mould code into any…
skolima
  • 31,963
  • 27
  • 115
  • 151