Configuring CI with TeamCity with Git & NAnt

We are moving away from TFS as a source management / build service.

Now we use TeamCity and host our source on Git via BitBucket.

Can someone point me to a decent article, a blog, an existing question with Stack with a basic description of the steps here to start and run the CI configuration?

I have a basic project setup in TeamCity, it pulled a source from Git, but I'm trying to figure out how to configure NAnt as a build step to compile code and publish it to my IIS site.

Any tips?

To be clear, setup:

  • Build Server = TeamCity
  • Source Control = Git (BitBucket)
  • Application = ASP.NET MVC 3 Web Application
  • Web server = IIS 7

Appreciate any pointers.

The closest I found is: http://thecodedecanter.wordpress.com/2010/03/25/one-click-website-deployment-using-teamcity-nant-git-and-powershell/

But this is because the web server pulls the code from Git using powershell. I do not want it. I want TeamCity to pull out the Git code and publish it directly on my web server.

+8
git build-automation nant teamcity
source share
2 answers

Got his job (with MSBuild - not NAnt, yet) thanks to this great blog series .

+8
source share

Here's an article on how to imitate AppHarbor (which you seem to like), although you might think for a real thing .

0
source share

All Articles