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

Smart deployment tools for Java

I'm looking for a tool able to deploy partial webapps, not just deploying a war containing a whole new version of a webapp. The purpose is to permit automated deployment (for example, but not only, properties files) in a Mavenized environment. Any…
Alexis Dufrenoy
  • 11,784
  • 12
  • 82
  • 124
6
votes
2 answers

Jenkins Remote Deployments

We're trying to setup Jenkins, but we are having a couple issues. We have a "Jenkins Server" (Master) and have connected it to Fisheye. Jenkins is able to get the Git repo and run the tests. Is there some kind of built in process for Jenkins to…
6
votes
1 answer

Run tests affected by code changes first in TeamCity

Using TeamCity, we want to run tests which are affected by code changes first. NCrunch (http://ncrunch.net) and Mighty Moose (http://continuoustests.com/) provide solutions for that on a local development machine. Is there some solution for…
Robert
  • 1,466
  • 10
  • 25
6
votes
1 answer

Parallel development branches, Build Artifact repositories and QA releases

How does parallel development / branching in your VCS effect your build artifact repository setup and releases to QA? At our company we branch our VCS for parallel development efforts and we often do not have much of a warning of which branch will…
6
votes
1 answer

Should an automated build process commit changes to version control?

I have often seen automated build processes, including Continuous Integration builds, commit changes made to source files during the build back into the version control repository that the source originated from*. Auto-incrementing version numbers…
6
votes
1 answer

How to approach CI

I'm in the process of building a company from scratch (Tomcat+Spring Rest+Java) so we have the luxury to do some things right (or at list not repeat our past mistakes) , one of the goals we want to achieve is the ability automatically build ,…
Amnon
  • 1,241
  • 3
  • 10
  • 19
6
votes
2 answers

Setup/tear down Oracle schema for CI build without fragmenting catalog

I would like to have a CI build (e.g., Hudson) set up and tear down an Oracle 11g schema as part of a nightly build/test cycle for a fairly vanilla JSF/JPA application. The most obvious way to do this is by dropping and re-creating all tables. …
wrschneider
  • 17,913
  • 16
  • 96
  • 176
6
votes
4 answers

Always build library before application in Jenkins?

We're having two builds A and B, where A is an application which depends on library B. Both are Qt projects. Jenkins polls the SCM every 15 minutes. Sometimes it happens that I commit A and B but the timer of A ends before the timer of B. So the…
atamanroman
  • 11,607
  • 7
  • 57
  • 81
6
votes
2 answers

Continuous Integration Strategy - Project Ref's vs Branching/Merging

Say you have 7 core projects in a legacy code base (a enterprise API). The code base has roughly 50 applications that reference one or more of the core projects. Only a couple of the 50 applications still work after a vss to tfs migration that was…
Jeremy Thompson
  • 61,933
  • 36
  • 195
  • 321
6
votes
2 answers

SONAR - How to exclude packages that is defined under "sonar.test"

I have a projects in JAVA that I analyze using sonar. Some of the java packages that I have are all under source folder. I also have some test file that I have under a different folders. Now, in Sonar, I organize my projects under a different…
lwijono
  • 389
  • 2
  • 5
  • 18
6
votes
5 answers

Continuous Integration for stack with Visual C++ and C#

Please recommend a good continuous integration that would build and integrate with the .net stack and the visual c++ as well. Some recommendations I have got are Jenkins CruiseControl Teamcity Because of the polyglot nature of the project, which…
unj2
  • 52,135
  • 87
  • 247
  • 375
6
votes
4 answers

C#/.NET - Continuous Integration and FTP Deployment

Note: I'm a newb to Continuous Integration What is the "best" approach to get these functions: Build (assemblies and web app) Testing (MbUnit or NUnit) and if it passes tests deploy via FTP to the main server (internet). And what I mean by…
BuddyJoe
  • 69,735
  • 114
  • 291
  • 466
6
votes
2 answers

TFS CI issue with a SSIS package

Build started 16/11/2011 9:24:11 AM. Project "C:\Builds\1\NetTellerMigration\NetTellerMigrationBuild\Sources\blah.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Development|Default". …
Christo
  • 2,330
  • 3
  • 24
  • 37
6
votes
3 answers

jenkins started with all jobs lost, trying to use 'copy existing job' feature

the CI server was disconnected for a while for some strange reason from the network and when it came back up, jenkins displayed with no jobs. however in the directory where the jobs live, /var/lib/jenkins/jobs/, the two jobs that should appear are…
tipu
  • 9,464
  • 15
  • 65
  • 98
6
votes
1 answer

Run deployment script from TFS build workflow on remote system using MSTest agent only

My Question: How can I run a deployment script from the TFS 2010 build template on a remote system that has only a MSTest agent running? I know this can be done by activating the Deployment section in the test settings configuration file, but this…
kroonwijk
  • 8,340
  • 3
  • 31
  • 52