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
11
votes
6 answers

PHP Build system

I'm using PHPUnderControl which runs on top of Cruise Control for my continuous integration and unit testing. I also have it setup to run PHPDocumentor to generate phpdoc's for me and it runs PHP Code Sniffer to enforce coding standards for me. But…
Steven Surowiec
  • 10,030
  • 5
  • 32
  • 37
11
votes
3 answers

Visual Studio Website build fails intermittently on CI server

We have a fairly complex Visual Studio solution (57 projects, 19 of which are website which fails to build almost every time when triggered by pushing code, but then we manually trigger the build and on the retry it builds just fine. The solution…
11
votes
4 answers

How to build a Visual Studio 9.0 solution from Cygwin and get build output?

I am trying to set up an automated build system on Windows using Cygwin. Among other things, it needs to be able to build several Visual C++ solutions. I have a script which sets up the environment variables needed for devenv, and if I type…
Dima
  • 38,860
  • 14
  • 75
  • 115
10
votes
1 answer

Upload via SCP with Gradle

Inside a Java module build by Gradle, I want to upload the resulting JAR(s) of my project to a remote location which is reachable via SSH/SCP. All examples I found did not work inside my environment. There is also an example how to use SCP inside…
Wolkenarchitekt
  • 20,170
  • 29
  • 111
  • 174
10
votes
1 answer

How to unit test build script?

I am trying to unit test my build script. I think following testing scenarios are normal scenarios Verify the build version number correctness Verify version numbers of msi and verify whether they are latest? Verify whether all the assemblies were…
Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230
10
votes
1 answer

Gitlab CI pipeline to run jobs parallel in same stage and invoke/trigger other jobs of same stage

I am trying to create a automation pipeline for data load. I have a scenario as explained below: stages - stage1 - stage2 job1: stage: stage1 script: - echo "stage 1 job 1" job2: stage: stage1 script: - echo "stage 1 job…
10
votes
8 answers

What Development and Build Lifecycle Tools Do You Use?

I'm working on transitioning my current project of about 20 developers to a modern development and build environment. We currently use an RCS based source control system and an associated issue tracking system, both with Motif UIs. There is no…
John Ellinwood
  • 14,291
  • 7
  • 38
  • 48
10
votes
1 answer

Build Automation & MySQL Workbench Scripting: Forward Engineer SQL CREATE SCRIPT

I'm currently looking into automating a software build process that includes a database schema defined in MySQL Workbench. Using Workbench's scripting capabilities, I'd like to open a Workbench document and export its schema as an SQL CREATE…
Arc
  • 11,143
  • 4
  • 52
  • 75
10
votes
2 answers

How to declare a global variable in Jenkins and use it in an MSBuild task within each individual project

I am converting our CI platform from CruiseControl to Jenkins, and can't seem to figure something out that seems like it should be relatively simple to do (Disclaimer - I'm no CI or build automation expert, but this was dumped into my lap and I find…
TechDawg270
  • 725
  • 3
  • 9
  • 20
10
votes
6 answers

CMake ExternalProject: how to specify relative path to the root CMakeLists.txt?

It seems that CMake ExternalProject always assumes the root directory of the external project to be the source directory. But what if that is not the case? Consider the following example: The external project uses this directory layout: libfoo.git …
nils
  • 2,424
  • 1
  • 17
  • 31
10
votes
6 answers

upload file with FTP using nant

I have an NAnt script that I use to build my .NET project, and I'm looking to see if there is a way to upload the resulted assemblies to some remote folder using an FTP task. I couldn't find any good example online, and I'm wondering if anyone knows…
Or A
  • 1,789
  • 5
  • 29
  • 55
10
votes
6 answers

Hudson Notifier?

Is their any notifier which let's you add specific build in the notifier. Right now i am using Hudson Tacker (http://hudsontracker.sourceforge.net/index.html) which works fine but it only let's me add one build or all the builds. I didn't see any…
sanjeev40084
  • 9,227
  • 18
  • 67
  • 99
10
votes
5 answers

Compare tools to generate update script for SQL server

I would like to make the update of the web application as automated as possible. I'm looking for a tool that can compare two instances of a database and generate an update script for me. As part of the build process create a instance of the last…
HAXEN
  • 388
  • 1
  • 2
  • 13
10
votes
1 answer

Why is my Web Deployment failing with a time out exception

I am trying to set up auto deployment of a website in the build process. I can publish via Visual Studio 2012, but when I try to have TFS build auto deploy I get a timeout error. Here is my command to the TFS build process: /p:DeployOnBuild=True…
Noel
  • 1,968
  • 3
  • 20
  • 38
10
votes
2 answers

Haskell Build Automation

What is the preferred way to automate build/test/ci/doc-gen/... for a Haskell project? At the moment I use Cabal for the "final" build and bash-scripts to automate testing/checkins/doc-gen/.. but I would like to replace the bash-scripts. I've…
finnsson
  • 4,037
  • 2
  • 35
  • 44