continuous-integration

Add a code branch to a single workspace in Hudson

Does anyone know how to add a subversion branch to hudson and have it build the whole branch? It seems that I would have to make a workspace for each branch/app. So could I just add the branch to a workspace and have hudson build each directory? Hope this isnt a stupid question. This is a java enviroment so mostly maven and ant builds. ...

Buildserver for MonoTouch upon OS X?

Hello all, I am taking my first steps in the world of iPhone/iPad development with MonoTouch and wish to adopt the practices that I adhere to in my "day" job. Is there a buildserver for OS X that plays nice with MonoTouch/Nunit? Thanks kindly, Dan ...

junit ant task: how to output stacktrace if timeout reached?

How to archive that the junit ant task runner will output the stacktrace if the timemout attribute is set? Thank you. ...

How do you prevent Hudson from deleting the source tree after a build?

I have several projects that I check out from SVN, some have to be built by ant before the others. I've assigned each project to a job. proj A proj B In order for B to build, A has to be already built. So, how do tell hudson to not delete A after it checks it out and build it? ...

How to fail TFS build based on FXCop warning

We are currently using TFS 2008 for source control and continuous integration. We use FXCop to check for checking performance and security warnings. The Architect or senior developer runs FX Cop at the end of a sprint or before a delivery. We would like this to run as part of the CI and fail the build if there is a warning, what is the...

.Net: State of the Art in tools & frameworks

This is question for those who work in .Net and are curious enough to expand their toolset, including also things beyond Microsoft's solutions. Coming from the Java world, there is a toolset I would consider using every new project, such as: Spring for IoC and MVC. JPA/Hibernate for persistence and ORM. JUnit/TestNG for unit testing. ...

hudson and building scripts

I have some code I run against other code. Let say command x runs code blah.c I have written a script to check to see if that command executed successfully. I am able to determine this. I will be running the script in the execute build box available in hudson. I need to know who to fail the build if any of there code tests fail. meani...

Microsoft Code Contracts and CI build server.

Hello all. We are migrating to .NET 4 and very interested in implementing new Design By Contract capabilities. As we know Code Contract engine requires installation of Code Contract addin and VS Ultimate or Premium (for static checking). Here is my questions: Can I use code contract rewriting without installing VS on CI build ...

Run xUnit tests from TFS2010

I'm trying to work out how to run xUnit tests from TFS 2010. I found some articles on how to achieve that with the older version (http://jonnekats.wordpress.com/2009/05/07/integrate-xunit-tests-into-your-daily-team-build/, http://weblogs.asp.net/mehfuzh/archive/2009/08/25/configuring-team-build-using-xunit.aspx). These approaches don't ...

TFS 2010 Gated Checkin with Exclusive Checkouts

We are using TFS 2010 with gated checkins. I've got some question about what I think is strange behaviour. Look at the following process: File A is checked out by me exclusively. File A is changed File A is checked in TFS asks to build changes Build started File A is reverted locally to the old version Build succeeded Asks for reconcil...

Dependency Management/Team Projects in Team Foundation Server 2010

I'm trying to find the best way logically separate projects in TFS 2010. Currently we have three separate projects: A core framework project which is run on a server A console application that references the core framework dll. A web application that also references the core framework dll. TFS partitions projects into Team Projects....

git plugin and hudson

I using Hudson as my continuous integrations tool. Now when pulling down sources from multiple git repositories. I am getting errors in my workspace only pulling down the last repository in the list and the build fails. I understand that when pull down from multiple git repositories multiple hidden .git directories are created in my wo...

Creating symlinks in Windows for Hudson build

I have a job in Hudson that builds on a Windows XP slave. I know that symlinks are not possible (directly) in Windows XP, and so I am trying to use junctions instead. I wrote a batch script: @echo off if "%1" == "" goto ERROR1 if "%2" == "" goto ERROR2 goto create :create echo Creating junction for %1 at %2 if exist %2 junction -q -d %...

What is the best NANT template for Continuous Integration (CI) that you've seen?

Hopefully it covers most common targets while factoring in MSBuild, web deployment, source control checkout, configuration management (config files for multiple env) and Hudson. ...

Has anyone used MikeCI or Cloudbees for their Continuous Integration

Has anyone used MikeCI or Cloudbees for their continuous integration usage? Has anyone explored the use of SaaS for build automation including guys like codesion with hosted version control for example? ...

What's exactly happening when I press F11 in NetBeans?

The NetBeans command to run an Ant build for a project is F11. I always believed that the target that it executes is named "default". I overrode the default target to do nothing other than simply flag that it ran. When I manually run the target from Ant, or by selecting the particular default target in Netbeans, I get the expected "flagg...

CruiseControl Remote Dashboard Access

Sorry if this is kind of a noob question, but I'm just starting to use CruiseControl, and I'd like to allow access to the DashBoard from anywhere on the internet. I can't find any documentation on how to do this. I'm running it off of a Windows machine, and I can start CC and view the DashBoard through http://localhost:8080/ Any ideas?...

Jar Signing Strategy in Maven Projects

We have several maven projects, which are built on the build server. In some cases we want to sign our deliverables. We use Maven Jarsigner Plugin to do that. We face the following questions: Where we should store the passwords for signing? What is a good strategy for signing maven projects? We don't want to put our keystore somewhere ...

maven SNAPSHOT workings

Currently maven Snapshots are created whenever a new build is ran. I was hoping if there is syntax that only stamps them when there is SCM change in that build or code in a particular jar has changed. Your ideas and thoughts would be appreciated. Please and thank you. ...

deriving version numbers from a git repository

we have a build system that uses the svn ID as an imput to a VM builder appliance that required a five digit number. When I build from git I have been faking this by counting the number of commits in the git repo. This only sort-of-works :-/ I'm tyring to figure out: how can I get a unique 5 digit number from the git repo. ...