Abe
Abe

Reputation: 6514

CruiseControl.Net: How Do I setup auto-deployment when an SVN Tag is created

I am using CruiseControl.Net for continuous integration and I know how to have CruiseControl.Net automatically deploy a project when an SVN commit is made.

This works well on development and staging servers, but definitely not for production servers.

We are tagging our production releases and so I want to have CruiseControl.Net deploy onto the production server with the latest tagged version. If anyone could point me to the right direction, I would greatly appreciate it!

I do apologize if I am not using the correct phrases. Thank you!

Edit Since I am tagging the trunk, I am hoping for ccnet to deploy to production anytime the trunk is tagged.

Upvotes: 2

Views: 1051

Answers (1)

Albin Sunnanbo
Albin Sunnanbo

Reputation: 47068

On my last two projects we created new cc.net project for each production release. We created the project with the good ol' copy-n-paste technique.

But if you do release to production often you could probably do that with a script that checks svn for new production tag and creates a new cc.net project when a new tag is created. Run that script as a cc.net-project with an interval trigger and you're done.

Upvotes: 2

Related Questions