Thursday, June 08, 2006

Projects in CruiseControl.Net

The CruiseControl.Net tasks are divided in ‘Projects’.  There are several kinds of projects.  This is a possible list of projects on the server :

  • The Continuous Integration Build of an application
  • The Deployment Build of an application
  • Automatic generation of buildscripts for the Visual Studio projects of an application

The technical project leader or the architect/designer could also define specific projects on the server.

 

e.g. only checking FxCop rules, or only run the unit testing,...

 

Projects are defined in the XML way in ccnet.config.  It just a list of projects defined one after the other one.  But keep in mind that those projects could be run parallel (and they will).

 

For each project you have to create a <Project> element with following attributes:

  • Name
  • Work folders
  • Links with source control
  • Running scripts.  These are Nant Targets who can be separated in activities
  • Triggers

The official documentation of the <Project> element can be found here .

 

Continuous Integration Build

It’s a good thing to analyze and describe each project in the first place in a Use Case.

 

After this, you are able to create a sequence diagram :

 

Basic configuration of a Continuous Integration Build project

Here we will describe the first step for our configuration.  It’s very basic.  We just at our project and source control.  We will add other features like tasks, publishers,... later on.

So first create a working directory for your build server.  We propose for this ‘c:\buildserver’.

Secondly we will add the project to the cruise control server.  To do this, open the ccnet.config file in the C:\Program Files\CruiseControl.NET\server directory.

<cruisecontrol>
    <project
        name="ProjectX"
        webURL="http:\\localhost\ccnet"
        workingDirectory="C:\Buildserver">
        <sourcecontrol type="vss" autoGetSource="true" applyLabel="false">
            <executable>C:\Program Files\Microsoft Visual SourceSafe\Common\Vss\template\win32\SS.EXE</executable>
            <project>$/Projects\ProjectX\xxxxx.ProjectX</project>
            <username>VSSUser</username>
            <password>VSSPws</password>
            <ssdir>\\path to VSS DB\SourceDB</ssdir>
            <workingDirectory>Buildserver\ProjectX</workingDirectory>
            <cleanCopy>true</cleanCopy>
        </sourcecontrol>
    </project>
</cruisecontrol>


 

Overview Buildserver chapters on my blog :

Chapter 1 : Introduction
Chapter 2 : CruiseControl.Net
Chapter 3 : Projects
Chapter 4 : Project Structure
Chapter 5 : NAnt and all our buildscripts

6/8/2006 8:07:00 PM (Romance Standard Time, UTC+01:00)  #     | 
Tracked by:
http://blog.svencipido.be/Blog/PermaLink,guid,f020b28c-1156-4817-b753-0332d49d53... [Pingback]
http://blog.svencipido.be/Blog/PermaLink,guid,31547de3-d370-46a1-9f6f-8c868af2bb... [Pingback]
http://www.google.com/search?q=hqfvezjv [Pingback]
http://www.google.com/search?q=fntovhvn [Pingback]
http://danedesigns.com/coin/temp/cialis.htm [Pingback]
http://spaceblue.com/lists/attachments/alprazolam.htm [Pingback]
http://interactlms.org/blogs/templates/genericcialis.htm [Pingback]
http://everyskyline.com/blog/files/meridia.htm [Pingback]
http://diggerhistory.info/forum/images/smiles/valiumxanax.htm [Pingback]
http://rightrainbow.com/archives/2004/adipex.htm [Pingback]
http://astro-tom.com/alascripts/alachat/data/dietpillphentermine.htm [Pingback]
http://smartsolutions.no/cmsimple/downloads/cialisbuycialis.htm [Pingback]
http://warlinks.com/yabbfiles/buyxenical.htm [Pingback]
http://cheapiso.com/images/genericcialis.htm [Pingback]
http://earthministry.org/discus/phentermine-online.htm [Pingback]
http://eclectics.com/guestbooks/templates/buy-cialis.htm [Pingback]
http://rrresorts.com/stats/reports/purchaseviagra.htm [Pingback]
http://nextday.co.nz/images/old/viagra-sale.htm [Pingback]
http://fiscalstudy.com/archives/2004/10/buyviagra.htm [Pingback]
http://interactlms.org/blogs/templates/genericviagra.htm [Pingback]
http://babyshowersbymail.com/images/old/cheap-soma.htm [Pingback]
http://isaschools.org/jm/publish/ativan.htm [Pingback]
http://earthministry.org/discus/fioricet.htm [Pingback]
http://www.galisteoinn.com/12all/admin/images/side-effects-of-phentermine.htm [Pingback]
http://everyskyline.com/blog/files/phentermineprescription.htm [Pingback]
http://kulturkompasset.com/_uploads/soma.htm [Pingback]
http://bizcarta.com/Discovery2005/buytramadolonline.htm [Pingback]
http://leasefunders.com/resources/onlinepharmacy.htm [Pingback]
http://polychromix.com/images/products/phentermine.htm [Pingback]
http://leasefunders.com/resources/buyphenterminecheap.htm [Pingback]
http://rexhotelvietnam.com/images/old/detoxvicodin.htm [Pingback]