Tuesday, July 15, 2008

Hudson now supports Team Foundation Server

Today I released a plugin that adds support for Microsoft's source control manager Team Foundation Server to Hudson (a continuous integration server). The plugin makes it possible to retrieve files and poll the server to detect changes on a project. If Hudson detects a change, a new build can be started automatically. Hudson will also display the changes that occurred in each build.

Configuring the plugin is easy as it is only requires the server URL and the path to the project. Hudson will take care of the rest, such as creating a workspace and work folder to store the files in.

The plugin supports both the command line client in the Team Explorer package from Microsoft and the command line client from Teamprise. An upcoming version of the plugin will add support for the opentf command line client.

So if you wanted to give Hudson a whirl but couldn't use it because you were using TFS, now is the chance to try it out! For more information about this plugin, check out the wiki. There are also several other .NET plugins for MSBuild, NAnt, NUnit, FxCop, StyleCop and compile warnings. I'm currently working on a plugin that integrates CodePlex into Hudson.

Update: The plugin can be downloaded here, or through the update manager in Hudson.


Siarhei Dudzin said...

Nice! I am curious how difficult it would be to create a maven scm plugin? Any idea?

Martin Woodward said...

Awesome work!

redsolo said...

@siarhei - It is not difficult to add new SCMs to Hudson, I wrote a guide while writing the TFS SCM at http://hudson.gotdns.com/wiki/display/HUDSON/Writing+an+SCM+plugin. Check it out, and if you have any questions people are always eager to help on the Hudson user mailing list.

@martin - Thanks alot, and thanks for helping out!

Roy Saberon said...

I was able to configure the TFS plugin and connect to a server. I then did a build and successfully checkout the source codes and the build was fine. But when i try to do a build for the second time an error occcured in Hudson with the following info:

Started by user rsaberon
[workspace] $ "c:\Program Files\Microsoft Visual STudio 9.0\Common7\IDE\TF.exe" workspaces -format:brief -server:http://bai-tfs01.blastasia.local:8080 ********
Server: http://bai-tfs01.blastasia.local:8080
Workspace Owner Computer Comment
---------------------------------- -------- ---------- ------------------------
Hudson-Blast Core Framework-MASTER rsaberon BAI-BLDSRV
java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.get(Unknown Source)

It seems that the tfs workspace created by hudson when downloading the source codes was not deleted after the build. I tried deleting the workspace from Visual Studio and ran a successful build from Hudson. But after that it goes to the same error again when i try running another build.

Anything i might have missed.

Thank you.

buy Cialis said...

oh thank God!!! finally a good recover, I had many problems with some lost files, maybe I could recover some of then...it's time to back to the work.

Penis Enlargement Pills said...

Really you have done great job,There are may person searching about that now they will find enough resources by your post.I like this blog..

Discount Viagra said...

This is a good project because it's an excellent method to exploring those applications, now I know I'll be able to do all those things I wanted to do at home.

Cure ear infection said...

Your post is excellent. Thanks Home remedies for itching Home remedies for anorexia Home remedies for bursitis Home remedies for cough Home remedies for pneumoniaHome remedies for burns Home remedies for common fever Home remedies for boils Ear wax removal Toenail fungus infection Raw food diet

pharmacy said...

wow that's nice, this remembers me how advance is the technology that we can even have internet in our cellphones and receive news every minute or call emergencies or even tech and medical support.

pharmacy said...

I was looking for this information, thanks for put in this easy way, I mean in a easy way to understand it jajaja, well until the next time.

Cheap SSL said...

Nice post. I learn something more challenging on different blogs every day. It will always be stimulating to read content from other writers and practice a little something from their store.

hcg said...

Oh wow, this got every one going - fascinating input mixed with a good read.

spanish for kids said...

Hello Friends welcome to learn spanish, learning spanish language Thanks for the learn spanish on dvd i have mention that et Enjoy with your Kids and Family:Box Set: 10 DVDs was $119.95, SALE $99.95 Get $19.05 OFF spanish for beginners and also the learning spanish at home

saim said...

What remarkable post! I think getting a bit of experience behind you writing for student magazines and websites is probably a good idea as well, just to familiarise yourself with what might be expected of you.

natural minerals
best naturals
buy curcumin

Agen Bola said...

What youre saying is completely true. I know that everybody must say the same thing, but I just think that you put it in a way that everyone can understand. I also love the images you put in here. They fit so well with what youre trying to say. Im sure youll reach so many people with what youve got to say. Agen Sbobet Agen Ibcbet

Prediksi Bola said...

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can’t wait to read lots of your posts. Agen Sbobet Sbobet Casino

Judi Bola said...

This web site is really a walk-through for all of the info you wanted about this and didn’t know who to ask. Glimpse here, and you’ll definitely discover it…. Judi Bola Online

mahir bola said...

oh thank God!!! finally a good recover, I had many problems with some lost files, maybe I could recover some of then...it's time to back to the work. Judi Online

Generic viagrabuy said...

Such a nice blog and the things which you present is really well and hard to find please keep posting
Generic Viagra buy
Generic Viagra
Tadalis SX
Generic Viagra

devita lia said...

To create a such kind of article is really amazing,I daily read your blogs and give my announcement for that here this article is too great and so entertaining. Agen Bola Terpercaya

Taruhan Bola said...

This is a fantastic website and I can not recommend you guys enough. Full of useful resource and great layout very easy on the eyes. Please do keep up this great work. Judi Bola

Mas Dewa said...

Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome Great work.
Also visit our website :

Situs Agen Judi Online Bola Casino Togel Poker Terpercaya said...

Hey, just looking around some blogs, seems a pretty nice platform you are using. I'm currently using Wordpress for a few of my sites but looking to change one of them over to a platform similar to yours as a trial run. Anything in particular you would recommend about it?

Agen Bola Terpercaya
Agen Judi Online