Introduction

Many of you out there are using CruiseControl.NET as the only CI server although a Team Foundation Server exists in your environment;
most of you prefer to rely on TFS just for Version Control but stick with CC.NET for all the other dirty tasks.

I AM one of you and, using such configuration, I faced a missing component in the CruiseControl.NET Environment: a labeller to label your
builds (and, eventually, Assemblies) directly from CruiseControl.NET .

Installation

  • Extract the .zip file content into the CruiseControl.NET Installation folder (e.g. C:\Program Files\CruiseControl.NET\server)
  • Restart the CruiseControl.NET Service
    • Start -> Run -> services.msc
    • Right-Click on the CruiseControl.NET Service
    • Restart
  • Modify your ccnet.config file to effectively use the labeller against your Team Foundation Server installation

Use

Modify your ccnet.config file, under the <project> node
    <labeller type="tfsRevisionLabeller">      
      <major>10</major>
      <minor>03</minor>
      <tfsServer>http://server:8080</tfsServer>
      <tfsProjectPath>$/project1/</tfsProjectPath>      
      <username>tfsuser</username>
      <password>tfsuserpassword</password>
      <domain>DEVDOMAIN</domain>
    </labeller>

Last edited Mar 22, 2010 at 6:47 PM by igoran, version 4

Comments

cicaday Apr 21, 2015 at 6:42 AM 
The project was out of date.
I had migrated to https://github.com/tobyqin/ccnet.tfsrevisionlabeller
The new one works good for VS2010~VS2013.

igoran Mar 22, 2010 at 6:46 PM 
The example has been included in the documentation.

jwindsurfer Mar 22, 2010 at 4:48 PM 
Thanks. This works. Here's a usage example:
<labeller type="tfsRevisionLabeller">
<tfsServer>http://mytfsserver:8080</tfsServer>
<tfsProjectPath>$/mytfscodepath/Trunk</tfsProjectPath>
<username>username</username>
<password>password</password>
<domain>domain</domain>
<major>2</major>
<minor>7</minor>
<prefix>prefix</prefix>
</labeller>