Publish an web application on build with NAnt, MSBuild or any other tool

I have a scenario where I have to setup a test environment where I want to be able to tell my NAnt or other build tool to make an new IIS web application, put the latest bins in the newly created IIS web application, and post me an email where the new address and port where the new application are addressed, is this possible and how? which tool?

Answers


There are several ways to approach this:

  1. Set up a continuous integration (CI) server on the test environment. This is a viable option if your test environment machine doesn't change often and it's a single machine.
  2. Push the installation from your development machine using tools like PsExec
  3. Combination of the two: you have a build CI server which pushes the installation to (multiple) test environments.

Of course, you also need a good build script which will set up the IIS application (NAnt offers tasks for this). Emailing to you can be done by CI server (CruiseControl.NET Email Publisher, Hudson...).

I suggest taking some time to read this excellent article series: Automation for the people: Deployment-automation patterns


Need Your Help

Why is this inner loop being performed in my insertion sort algorithm?

java arrays conditional insertion-sort

I'm sure this question has been asked before, but finding the correct answer on here was always going to be difficult.

get ID and show details

java file

i want to det ID number and display details.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.