continuous-integration

Publish web application from MSBuild Script using VS2010 targets resets working directory

I am trying to automatically publish and deploy my .Net 4 web application automatically from a build script to be run by our continuous integration server. I am using the new _WPPCopyWebApplication target from VS2010 to perform the publish, however it appears to reset the current working directory of the msbuild project to c:\ this caus...

deploying maven jar files and SNAPSHOT dependencies

We currently use SNAPSHOT modifier in development so that project dependencies are linked to the most current build of its dependencies. So when we build a project we get all the jars with various time SNAPSHOTS. Regardless of a code change. This proves to be an issue when the end user wants to download a new release. For example ther...

A versioned repository of binaries

Hello, I'd like to store artifacts (~2GB per build) from my CI server (currently evaluating Hudson) in a space-efficient manner and have an easy way to access them. Artifacts are mostly a huge set of dlls and other binaries which in majority don't change between builds. I thought of just using a standard VCS with dedicated repository f...

NUnit in Finalbuilder: How can I provide a path to nunit-console without the finalbuilder option

My shop has a precedent of checking in 3rd party tools to source control and using relative paths in projects/builds to find everything. Also, as NUnit releases new versions there have been several versions of NUnit admitted to this 3rd party libraries section in source control, so that changing older tests wasn't necessary to start usin...

Integrating SourceMonitor into a Hudson CI-System

I would like to integrate SourceMonitor into my Hudson CI-system. Since there is no SourceMonitor plugin how can i make the results of SourceMonitor visible on my Hudson Server. ...

Set Cruise Controls build number to start at a certain value for renamed project?

I have a project that uses CruiseControl.NET, and as a versioning scheme we have 3.0.[ccnetbuild].[svnrevision]. CCNetBuild is the internal build number cruise control uses to keep track of how many builds of a project it has done. Now I have had to rename one of the CCNet project (rename in CCNets config file) and the [build] number now...

mvn clean install vs. deploy vs. release

I am just learning maven, and we have recently needed to go more and more. I would like to know the difference between mvn clean install mvn release mvn deploy Please be as descriptive as possible. Long Labor day weekend has left me inept. Thanks ...

Unit Test Best Practices For Visual Studio Solutions

Hey all, I've been tasked to re-architect our build process here at work and I would like to start including unit testing (nUnit) to our projects. Through my research I've got a good grasp on the technology I'll be using, but I wanted to get some advice on best practices on setting up my solution for testing and to make sure my proposed...

Teamsite - really an alternative to mainstream continuous integration?

Hi, I come from a .NET background where continuous integration was/is heavily practiced, i.e. Subversion, Cruise Control, MS Build - plus a suite of unit and integration tests. Current project I am on the client (big) believes in using Teamsite. I had never heard of it. Two posts I have read here and here - not positive! I have a mee...

Play sound with automated build fails

Hi everyone We are using TeamCity v4 and Nant for continuous integration builds on a server in our work area. we would like to have the build server play a mp3 or wav file when the build fails...anyone has any ideas around this? Thanks ...

How to disable "warning as error" for generated files only? (MSBuild)

On our continous integration server (Teamcity 5.1.3) we have a msbuild script that is automatically building our applications. When we enable "Warning as error": in Visual Studio, it build fine (it ignores the methods within "*.designer.cs" files. But on the build server we always receive the following error: [(Rebuild target(s)):] som...

When using msbuildtasks UninstallAssembly the service is only queued for deletion and server needs restart

I am setting up a project to run under the teamcity integration server on windows server 2003 (with sp2). The integration tests run using msbuild with the latest version of msbuildtasks v1.2.0.306. All code is build with .net 2.0. In our build.xml file we remove all the services used by the systems, rebuild them all recreate them and th...

Replacing -SNAPSHOT in pom when releasing.

I am developing code actively, with my developing team. When we release to our customers, I would like to provide jars without the -SNAPSHOT so they only need to update when a new dot version is created. This there a maven plugin that provides this functionality. I know there is because everyone else must do it some how. I doubt it is ...

Weird issue with Web Deployment projects 2010

i'm in the process or upgrading my CI configuration to Web Deployment projects 2010 (from 2008) i'm geting a really strange issue durin build as shown below - i've been looking into it a a few hours to no resolve, and am starting to think the issue is elsewhere...) C:\Program Files (x86)\MSBuild\Microsoft\WebDeployment\v10.0\Microso...

Hudson CI server shuts down randomly; nothing useful in hudson error.log

I've not been able to perform any builds lately. Suddenly Hudson, mid-build, just shuts down entirely. I have to ssh in and do /etc/init.d/hudson restart to even get the server working again. Sometimes during this wonderful process I get this result: Restarting Hudson Continuous Integration Server: hudsondaemon: no process killed failed!...

Speeding up PHP continuous integration build server on Hudson CI

I'm trying to speed up my builds some and was looking for some thoughts on how to do so. I currently use Hudson as a continuous integration server for a PHP project. I use an Ant build.xml file to do the build, using a file similar to Sebastian Bergmann's php-hudson-template. At the moment, though (due to some weird problems with Hudson...

Pre-commit hook for Git when Hudson build has failed

I'm trying to figure out how to write a pre-commit hook for Git that checks the status of my Hudson build. If the previous build failed, it should disallow anyone from committing without first writing a specific line, e.g. "fixed build." EDIT: The first answerer has provided one side of the coin: the Hudson API. I now need the other s...

Building RIA services project without Visual Studio

I'm trying to build RIA-enabled Silverlight project on the continuous integration server. There is no Visual Studio installed on it. Therefore I'm missing some libraries/targets. What needs to be installed in order to build RIA project with only MSBuild? ...

Help me improve my continuous deployment workflow

I've been developing a workflow for practicing a mostly automated continuous deployment cycle for a PHP project. I'd like some feedback on possible process or technical bottlenecks in this workflow, suggestions for improvement, and ideas for how to better automate and increase the ease-of-use for my team. Core components: Hudson CI ...

msdeploy execute xxx.deploy.cmd with computerName property via command line

I'm working to upgrade our CI system with CruiseControl, MSBuild and MSDeploy. I've created separate build configurations for each stage of our web site, and set up MSBuild to run the following command to build the web package: C:\...\MSBuild.exe C:\...\xxx.csproj /target:Package This gives me the xxx.zip file and the xxx.deploy.cmd ...