continuous-integration

VSTSDB Continuous Integration Best Practice: Installing our integration test SQL Server on the same box as TFS Build Agent?

We are beginning to use Visual Studio Database Edition 2010 (VSTSDB) for our continuous integration. In short I have our nightly build creating the Deploy SQL and then running the script on a SQL Server. I will eventually have integration unit tests run on the newly created database(s) after the build is dropped and database is created. ...

Set database based on how the application was started

I have two Rails applications (lets call them APP-1 and APP-2), each of them has a dependancy on a third Rails application (APP-3). I would like to be able to run the tests for APP-1 and APP-2 in parallel on my CI server. The problem is, both need to start up APP-3 and write to a DB via the APP-3. This causes conflicts and failures ...

MSBuild: automate collecting of db migration scripts?

Summary of environment. Asp.net web application (source stored in svn) sqlserver database. (Database schema (tables/sprocs) stored in svn) db version is synced with web application assembly version. (stored in table 'CurrentVersion') CI hudson server that checks out web app from repo and runs custom msbuild file to publish/package app...

What Continuous Integration tasks/plugins should I install as a minimum?

I'm currently setting up a CruiseControl.Net CI service to keep on top of a bunch of .net WinForm, WPF and ASP.net applications maintained by a hand full of programmers. I've got basic SVN integration and NUnit running, and I like the thought of running some sort of code quality/duplication of effort checking too. So my question is what...

Integration Testing an Entire *Existing* Application (w/ automatic execution of test suite)

Hi there, I have just joined a team working on an existing Java web app. I have been tasked with creating an automated integration test suite that should run when developers commit to our continuous integration server (TeamCity), which automatically deploys to our staging server - so really the tests will be run against our staging web ...

Suitable ESXi Spec

Finally I have some money to buy a new server and replace the one I have been using for 10 years. Im thinking of running ESXi on the new server. And intend to use it as follows; One W2008 R2 Guest running Exchange, File store, SVN and an accounting application for day to day running of the company. Multiple Guest VMs W2K, XP, Vista ...

Auto discover projects in continous integration Tools

We have a code base composed of many projects. Currently each time we add a project on SVN we must reconfigure CruiseControl to start build and test on such project. I'm looking for a tool (better if open source) able to scan the SVN repository and find new projects by itself. A project can be "a SVN folder containing trunk, tags, branc...

How to cleanup old Failed Builds in TeamCity?

We do have hundreds of failed builds in TeamCity (number is especially high because of old retry on fail settings) and now it's a pain to browse history. I want to clean up only old failed builds, is there anyway to do that in TeamCity? Normal clean-up policy only allows X days before the last successful build sort of clean ups. ...

CruiseControl .Net problems after server is restarted

I've got a problem with CruiseControl .Net (version 1.4.3.4023) in that when the server is restarted, a random selection of projects are 'broken' even though the codebase has not changed. As the servers in our place are restarted every Sunday evening, my job Monday morning is to run through CCTray, starting each project in turn, so that...

CruiseControl.NET Build Label Problem.

I'm labeling my assemblies using the CCNETLABEL environment variable and the SVN Revision number. The problem I am facing is as follows: Assume ProjectA is dependent on ProjectB ProjectA is at build number X and ProjectB is at build number Y When ProjectA is triggered, ProjectB is built as well. Because CCNETLABEL = X+1 my version l...

Any way to separate unit tests from integration tests in VS2008?

I have a project full of tests, unit and integration alike. Integration tests require that a pretty large database be present, so it's difficult to make it a part of the build process simply because of the time that it takes to re-initialize the database. Is there a way to somehow separate unit tests from integration tests and have the...

How to filter SVN branch in Hudson's POLL SCM?

We're using Hudson on an SVN repository that hosts a number of projects. One of these projects takes a long time to build, even if no files were changed. Right now Hudson's "Poll SVN" detects that the subversion repository has changed and will try to build the project, even if that change was in a different project. Is there a way to s...

Comparison of Hudson, CDash, CruisonControl, TeamCity for Continuous Integration / Builder

I found most people talk about Hudson for simple and free continuous integration. Now personally I'm not fond of its interface which I find very messy, and I found almost no one talking about CDash -- I love CMake and CTest seem nice too. Could you give for your favorite continuous integration server/builder/tester/dashboard a short des...

Specify artifact version outside of pom

Is there a way to specify the artifact version outside of the POM file? I have 2 CI projects that build an artifact. One builds a "stable" development version from a 'develop' branch and the other builds an unstable version which is the result of merging all active feature branches into the develop branch. I want the stable version to ...

Anyone have an XSL to convert Boost.Test XML logs to a presentable format?

I have some C++ projects running through cruisecontrol.net. As a part of the build process, we compile and run Boost.Test unit test suites. I have these configured to dump XML log files. While the format is similar to JUnit/NUnit, it's not quite the same (and lacks some information), so cruisecontrol.net is unable to pick them up. I ...

Powershell in CruiseControl.net to backup existing folder before deploying new version of the code

Hi I would like to zip a bunch of files (.exe and .dll) before I overwrite them with the new build. Is there a simple way to zip files without using some sort of dll? Just creating a folder with the build number / date time stamp will also work great. How do I pass parameters from the cruise control build process into my Powershell...

Free .NET build system?

Possible Duplicates: Which Continuous Integration tool are you using? Best Continuous Integration Setup for a solo developer (.NET) Even though this is likely a dupe, I can't seem to find a list of free CI build systems for .NET. I've mainly used Hudson and TFS so far, but I was not exactly satisfied. Wikipedia lists quite ...

How do programmers work together on a project?

I've always programmed alone, I'm still a student so I never programmed with anyone else, I haven't even used a version control system before. I'm working on a project now that requires knowledge of how programmers work together on a piece of software in a company. How is the software compiled? Is it from the version control system? Is...

Using MSBuild 4 command line to publish ASP.NET web application

In previous msbuild we used the target '_CopyWebApplication' in order to build and convert the source of a project into a published site, this worked OK, but wasn't ideal. In .NET 4, the publishing process is somewhat more sophisticated and additionally seems a bit of a black box to understand. Whilst packages look great, I cannot full...

Keeping a local MySQL DB in sync with a live DB (MySQL Replication?)

Hi All, I have a large production database at the moment (7GB+), much of the data I require to test my development branches needs to be up to date. I would like to create a local DB so I can implement a CI server and have the development DB separate to the production DB, however with a DB of this size how do I ensure it's always in syn...