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
12
votes
5 answers

Is it possible to build a sitecore data package from command line, or outside of a web context? i.e. using nant

The Sitecore package wizard can be used to build a package containing data and files for the local Sitecore instance. Is it possible to build a Sitecore package (items only, files are not required) from the command line, or otherwise outside the…
12
votes
3 answers

MSBuild Extension Pack vs MSBuild Community Tasks

I am just starting to make custom MSBuild scripts for the first time. I see that there are two standard options for extending the features: MSBuild Extension Pack and MSBuild Community Tasks. I am looking for some guidance about what the…
12
votes
8 answers

Automating builds from subversion tags

I'm trying to automate the build process for engineering group. As part of that automation, I'm trying to get to a point where the act of applying a specific tag that adheres to a pattern will kick off an automated process that will do the…
Ajaxx
  • 2,500
  • 4
  • 27
  • 38
12
votes
0 answers

Running DotNet Build Causes Microsoft.Build.Tasks.CodeAnalysis.dll Assembly Conflict

I'm having an issue trying to build a dotnet core project from command line that has these references:
12
votes
6 answers

Best way to incorporate spell checkers with a build process

I try to externalize all strings (and other constants) used in any application I write, for many reasons that are probably second-nature to most stack-overflowers, but one thing I would like to have is the ability to automate spell checking of any…
rcreswick
  • 16,483
  • 15
  • 59
  • 70
12
votes
5 answers

Team Foundation Server "Build Controller"

We are in the process of trying to automate our build process. We use Visual Studio 2010 and the source control server - Team Foundation Server 2008 - is on a different machine. When I right-click on a Team Project's Builds item and select New…
user516614
  • 145
  • 1
  • 1
  • 6
12
votes
8 answers

Whats the best way to deliver TFS build status notifications to the team?

I like the status email sent by TFS's alerts mechanism when a build breaks. However I would like to send such an email to the entire team and not rely on the team to subscribe to the alert... Having a hard time producing a nice and detailed enough…
Eran Kampf
  • 8,928
  • 8
  • 49
  • 47
12
votes
8 answers

Advantages of a build server?

I am attempting to convince my colleagues to start using a build server and automated building for our Silverlight application. I have justified it on the grounds that we will catch integration errors more quickly, and will also always have a…
Craig Schwarze
  • 11,367
  • 15
  • 60
  • 80
12
votes
5 answers

Is there an .NET alternative for Java artifact repositories like Nexus or Artifactory? Where do you store versioned DLL's?

Where to store binaries needed for automatic builds on Team System? Are you storing them along with the code in the SCM or someplace else? Is having a big amount of binaries in SCM causing any performance issues with source controol? There is a need…
12
votes
2 answers

cmake vs waf for C++ project

I found similar topic: What are the differences between Autotools, Cmake and Scons? , but my question is a little bit other and I think the answers could be other too. I found a lot of articles telling that waf is unstalbe (API changes), is not yet…
Wojciech Danilo
  • 11,573
  • 17
  • 66
  • 132
12
votes
3 answers

Command line compiling an iPhone Application

I would like to find a way to compile and package our iPhone application as part of our automated nightly build. At present we always have to manually kick off a build on a shared Mac that has the adhoc certificates installed on the box and then…
ra9r
  • 4,528
  • 4
  • 42
  • 52
12
votes
2 answers

How can I add Jenkins slave nodes via the CLI?

As per the title, in Jenkins how can I add new slave nodes to my build cluster using the CLI, or if there is not a CLI option, is there another scriptable approche that can be used?
rjzii
  • 14,236
  • 12
  • 79
  • 119
12
votes
4 answers

how to fail a build when new warnings are introduced

We are working on some old java project. The code has many warnings but i want to avoid introducing new ones. is there a way to do it with maven, bamboo. we don't have rights to install new plugins on bamboo (corporation) so maven solution is…
piotrek
  • 13,982
  • 13
  • 79
  • 165
12
votes
6 answers

What automated build system do Mac developers use?

my team is currently using buildbot to automate overnight and continuous-integration builds and regression tests. For builds and unit tests, the builder just invokes a script which syncs the sources from p4 and then runs xcodebuild. The regression…
user23743
12
votes
1 answer

Don't Run Unit Tests from Certain Assemblies in TFS 2012 Build Definition

In TFS 2012, we have several build definitions - CIs, Deployments and nightly. Our CI builds run all of the (n)unit tests from our solution, however, we need to get it to ignore certain tests. This is because we have some long running integration…
Kieron
  • 26,748
  • 16
  • 78
  • 122