Thursday, August 19, 2010

ASPNETPORTAL now on teamcity.codebetter.com

Many thanks to Kyle Baley - The Coding Hillbilly for providing a free build server for the asp net portal starter kit.

Link to the build server: http://teamcity.codebetter.com/login.html

In order to register and build your own open source project there you need to sent an email to kyle@baley.org with your project information. As an example for the aspnet portal I have sent the following:

  • Username on the TeamCity server, you simply need to click register new account at the http://teamcity.codebetter.com/login.html
    cbakopanos
  • Usernames of any other people you’d like to be administrators of the build
    n/a
  • The name of the project
    ASPNETPORTAL
  • A *brief* description
    The ASPNETPortal Starter Kit demonstrates how you can use ASP.NET and the .NET Framework to build a dynamic portal application.
  • The project’s URL
    http://aspnetportal.codeplex.com
  • The URL to the source code, better use the subversion uri if you are hosted in codeplex and use tfs because the svnbridge uri supports anonymous auth.
    https://ASPNETPortal.svn.codeplex.com/svn
  • The name of the build runner (e.g. NAnt, Rake, MSBuild, command line, etc.)
    MSBuild
  • The path to the build file (relative to the source code URL above)
    build.proj
  • Any other details required by the build runner (e.g. the name of the target if different from the default)
    run the build target

In my case I got a reply in less than 24 hours! Wow! I got a new project created for me with one build configuration.

teamcity_codebetter

Tip: The first thing you would like to do is click the link in the upper left corner “Configure visible projects” and make visible ONLY your project. Otherwise it takes for ever to load the initial home screen.

Another thing that you would like to probably do is see the revision number on the build. The picture above for example shows #rev: 49859. The default you will get is an automatically incremented build number per configuration 1,2,3,4,… You can do this by simply specifying in the general settings of your configuration the special build number format that teamcity understands.

settings_teamcity

Please note that ASPNETPortal_SVN in the above format refers to the vcs root of my project.

vcs root

If your name has any spaces, dots or any other special chars then you have to replace them inside the format string with underscores. In other words you are better off giving your vcs root a “code friendly” name:-)

0 comments:

Post a Comment

Post a comment