continuous-integration

How can MSBuild detect which server it is running on?

I would like my MSbuild build script to be able to detect which server it is running on, if it is a local developers machine then run the targets that install the results on the local machine, if it is running on the build server then run the target that installs on the remote staging server. What is the best strategy to achieve this? ...

Continuous integration with .net and svn

We're currently not applying the automated building and testing of continous integration in our project. We haven't bothered this far as we're only 2 developers working on it, but even with a team of 2 I still think it would be valuable to use continous integration and get a confirmation that our builds don't break or tests start failing...

How do I get Hudson to generate a Findbugs report without failing due to an exception?

Update As of Hudson Findbugs plug-in version 4.3 this is no longer an issue End Update As an example of my problem, I'm trying to build the following project http://www.sonatype.com/books/mvnex-book/reference/multimodule.html I added the following to simple-parent/pom.xml <reporting> <plugins> <plugin> <groupId>org.codeh...

Keep correctness of Eclipse workspace with continuous integration

IDE misconfiguration is a big source of inefficient time use in our team. I wanted to know if other teams have tried to check the health of the eclipse workspace with continuous integration. Eclipse is open source and extensible, and most (all?) of its files are in xml. So it should not be difficult to add a step to continuous integrati...

Team Build to build solution in different TFS Projects

We are using TFS2008 and TeamBuid to build our product. I have SolutionAA in TeamProjectAA that uses a file reference to a compiled library (SolutionBB) that is checked in to TeamProjectAA. Now this works fine. Now the source code to the library is checked in TeamProjectBB. The problem arises when I need to due a full build using Tea...

Unit Tests on a 32bit/64bit Application

We have an application that now has a 64 bit target, as well as the old 32 bit target. My question concerns our Unit Tests. Should we compile and run our Unit Tests in both as well? Is there any chance we will find flaws this way? Am I being overly paranoid? ...

Hudson build failed using Python & Coverage

I completed this tutorial from Joe Heck to set up Hudson for Python. Everything worked perfectly except the Coverage section. My build failed with this output: [workspace] $ /bin/sh -xe /tmp/hudson6222564272447222496.sh + coverage run tests/run.py --with-xunit You must specify at least one of -e, -x, -c, -r, or -a. I tried to includ...

Deploying ASP.net MVC Applications to Staging and Production with SQL

We have been a ColdFusion shop for 10 years, and are now switching over to ASP.net MVC. Our target framework is .net 4.0 BETA 2 using VS 2010 BETA 2. We set up two instances of Windows Server 2008 (staging and production), and will be using our existing database server (SQL Server 2008). None of us really have much experience in ASP.net...

Configuring TFS TeamBuild to execute different test categories on different Build Agents

I'm trying to understand how to configure TFS Team Build to provide a CI solution for my project. I have a fairly common setup that I have several categories of unit tests. For simplicity lets say there are two categories: Exchange2003 Exchange2007 Each test category needs particular software to be installed on the Build Agent so ...

How to set up a development environment at home?

I would like to know how can I set up a development environment at home. I'd like to make a kind of simulation to imitate a real software development firm. I am learning Ruby and Java, and I have the necessary tools for small projects on my laptop (compiler, interpreter, IDE etc). However I'd like to experiment with some other stuffs suc...

Setting up a deployment / build / CI cycle for PHP projects

I am a lone developer most of my time, working on a number of big, mainly PHP-based projects. I want to professionalize and automate how changes to the code base are handled, and create a Continuous Integration process that makes the transition to work in a team possible without having to make fundamental changes. What I am doing right...

Which is a good Continuous Integration Solution (e.g. CruiseControl.net) hosting provider?

Hello, I have a private .NET (C#) project using Git Repository in Unfuddle.com. I wish to utilize a hosted Continuous Integration tool like CruiseControl.Net. Can anybody recommend a hosted CI solution, that can integrate with Git and is reliable and cost effective? Thanks. ...

What are the best practices for large continuous integration?

My organisation has started a continuous integration project to automate the build of their large public-facing Web site. By "large", I mean 30+ REST services, content and integration for an external CMS, and several ASP.NET front-ends. The systems are written with a mix of Java and C# deployed to a mix of Linux and Windows Server boxes...

How to use Continuum to build from multiple branches

I've got a project which is built using Maven and Continuum. We've got several release branches, most of which are in retirement but any could conceivably be resurrected if an issue comes up. My problem is that adding branches to Continuum is very heavyweight; the best method I've found so far is to add each branch as a separate projec...

Generating debug symbols for Symbol Server from CI process to aid remote debugging

Does anyone have any advice about extending our SVN & Cruise Control CI process to populate a Symbol Server? We are trying to remotely debug test environments for our ASP.NET 2.0 C# website and have been running into problems getting the correct symbols to always load. Our build process is done in release mode not debug mode so how do...

Using a variable to define a VCS root URL in Team City

We're trying to define a TeamCity project for a release tag. When we're ready to release, we tag trunk with a tag that includes the version number. We want the build process to checkout based on this tag and when the build is complete, move the files into a folder with a name that is also based on the version number. We're only interest...

How to set user account to run build runner in Team City

Hi I have a separate build configuration used to deploy built files. This configuration uses command line build runner. I have a bat file that copies output files to another computer share. The output files are produced by other build configuration. The problem is that when team city executes Windows XP copy command i get access denied...

Hudson doesn't recognize that I executed any tests after build - any ideas why?

I'm using Hudson to build a Java project w/ Maven. The project includes two different sets of unit tests: (1) a plain-old Surefire plugin execution that includes unit & database integration tests, and (2) a profile-activated suite of tests that are necessarily invoked using the JUnit ant task*. I can understand why Hudson does not recog...

What CI tool would you recommend for GWT development ?

I'm about to install a CI tool for a 2 man Java/GWT development "team", and need a brief update on the current state-of-the-art. I come from a CruiseControl/Ant/rake background (with no Maven experience). Requirements: * Scripting language (minimal XML config) * Ant task re-use * "5 minute" installation and configuration Here are s...

Is it possible to pass parameters in the Hudson's job that will be triggered remotely?

I need to pass a few parameters in the job that will be triggered remotely. Is it possible? ...