Questions tagged [continuous-integration]

Continuous integration (CI) is the building and automated testing of the full software product on a frequent schedule: at least once a day, often several times a day and sometimes as often as after every check in to the version control system.

Concept

Continuous integration is an important part of an agile software development process. Integration is an important step to detect quality issues, so if it is done frequently, problems will be detected earlier and fewer at a time. Hence, continuous integration can help to reduce the overall cost of the process. Although continuous integration could be automated with simple scripting, it is generally more advantageous to use tools built for this purpose, especially for complex projects with many modular parts.

Tools

One of the first tools to become popular for this purpose was CruiseControl. Now there are many such products, both open source and proprietary.

References

Martin Fowler has a good writeup of what it all means in Continuous Integration.

13768 questions
7
votes
2 answers

PackageApplication stopped working with OS X 10.10 (Yosemite) today

UPDATE: The correct answer is probably this one: Xcode 6.1 error while building IPA Using Jenkins to build iOS projects from repositories since a few years. Suddenly today a new error occurs, stopping builds. I think I based most of this setup on…
Jonny
  • 15,955
  • 18
  • 111
  • 232
7
votes
3 answers

Handling versioning in a continuous integration environment

How do you handle versioning in a continuous integration environment where there is a development branch and a release branch? I'm using git so there is no incrementing repository version to use. Seems like there will be overlapping versions such as…
JC.
  • 11,561
  • 11
  • 41
  • 50
7
votes
2 answers

Android CI with Atlassian Bamboo

Does anyone have any good resources for setting up Bamboo to do CI with Android projects? I have mine setup to pull source and compile it with ant. But I would love to know how to setup JUnit tests, where the tests are in a separate project. Thanks
bhawkins
  • 326
  • 2
  • 11
7
votes
3 answers

Is there a pre-made Continuous Integration solution for .NET applications?

From my perspective, we're constructing our own 'flavour' of NAnt/Ivy/CruiseControl.Net in-house and can't help but get the feeling that other dev shops are doing exactly the same work, but then everybody is finding out the same problems and…
7
votes
2 answers

TeamCity: How to put unversioned configuration files in a checked-out repository?

I'm using a Git repository to version control my application. My project structure is such that I'm using config files that are localized to each environment the app is running in. These local config files contain things such as SQL connection…
Anshul
  • 1,302
  • 3
  • 15
  • 36
7
votes
1 answer

Continuous Delivery with GitLab CI

I've been trying to wrap my head around how it would be possible to implement Continuous Delivery with GitLab CI? Every solution I read for CD relies on multi-step pipelines (such as Jenkins), or a custom application that listens to webhooks and…
7
votes
2 answers

Bamboo to Build Specific SVN Revision

Imagine there's a project in Bamboo with two build plans: Staging Deployment (SD) and Production Deployment (PD). Building SD checks out latest sources, builds them and deploys a web site to a staging server. Currently, PD does all the same, namely…
Anton Gogolev
  • 113,561
  • 39
  • 200
  • 288
7
votes
2 answers

Jenkins guide needed for build, deploy, provision and rollback, keeping 5 releases

I am pretty new to Jenkins, and have some sort of understanding but need guidance further. I have a PHP application on a Git repo, that uses Composer, has Assets, has user uploaded Media files, uses Memcache/Redis, has some Agents/Workers, and has…
Pentium10
  • 204,586
  • 122
  • 423
  • 502
7
votes
1 answer

not ok PhantomJS exited unexpectedly

$ testem ci not ok 1 PhantomJS - Browser "phantomjs /home/ubuntu/.nvm/v0.10.12/lib/node_modules/testem/assets/phantom.js http://localhost:7357/6092" exited unexpectedly. 1..1 # tests 1 # pass 0 # fail 1 $ phantomjs --version 2014-07-28T00:24:22…
eguneys
  • 6,028
  • 7
  • 31
  • 63
7
votes
1 answer

Android build error: unknown package filter

update: Might be of interest that I also got a similar error: "Error: Ignoring unknown package filter 'extra-android-m2repository'" on this line: android update sdk --filter extra-android-m2repository --no-ui --force > /dev/null but I resolved…
Micky
  • 5,578
  • 7
  • 31
  • 55
7
votes
3 answers

Xcode4 show all output (remove “Showing first 200 notices only”) in Terminal

we're using xcodebuild for some Jenkins CI tasks. We have an error that stops the build, but can't see what it is because xcodebuild limits the log length to the first 200 notices: Showing first 200 notices only ** TEST FAILED ** Is there a way to…
7
votes
1 answer

How does TeamCity know when an xUnit.net test is run?

I have always wondered how TeamCity recognizes that it is running xUnit.net tests and how it knows to put a separate "Test" tab in the build overview after a build step runs. Is the xUnit console runner somehow responsible for that?
7
votes
1 answer

Continuous Integration for Open Source projects on Sourceforge

I have a project hosted on Sourceforge.net using Mercurial. Are there any free continuous integration services that can interface with open source projects and start a build every time there is a push to upstream? I have had a great experience with…
vobject
  • 5,290
  • 3
  • 29
  • 21
7
votes
6 answers

Automatic Deployment Resources

I know enough to know that we need to get our application to deploy with a single user action. However, I don't know: What are some good tools to use in a .NET shop? How do you manage config changes for each of your environments? Can someone point…
7
votes
1 answer

Teamcity: Pass Environment parameter to dependent build

I use two build configurations. Root Sub The buildfile for 'Sub' requires a environment parameter 'Param' to run. Can I pass this parameter from my 'Root' configuration to the 'Sub' configuration in Teamcity.
crauscher
  • 6,528
  • 14
  • 59
  • 85