0

I want to know which scripting language can be used for to make automated .net build through cruise control and clear case.

.net has references which needs to be mentioned while building.

I am using cruise control integrated with clear case.

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
user1383839
  • 215
  • 4
  • 12

2 Answers2

0

Considering CruiseControl can call about any script you want, you can use:

NAnt example:

<exec program="cmd" commandline="/c cd /path/to/view" />
<exec program="cleartool" commandline="yourClearToolCommand" /> 

Those scripts will be triggered by one of the ClearCase triggers integrated with CruiseControl.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
0

Although CC does support many build engines, http://cruisecontrol.sourceforge.net/, but none of them are quite popular in .NET world.

If you are using CruiseControl (not CruiseControl .NET), there is no built in support for MSBuild, and you have to use <exec> to launch MSBuild.exe from .NET Framework installation folder, (one hop)

http://cruisecontrol.sourceforge.net/main/configxml.html#exec

Or you can call NAnt from CC, and use the task in NAnt to execute MSBuild for project compilation. (two hops then)

Lex Li
  • 60,503
  • 9
  • 116
  • 147
  • Can you please provide a sample NANT script which have will use .net reference while build – user1383839 May 16 '12 at 09:41
  • Nope. You don't need to use .NET reference in NAnt. Simply call task to invoke MSBuild.exe, who reads sln/csproj/vbproj files to perform the compilation, such as http://nantcontrib.sourceforge.net/release/0.85-rc4/help/tasks/msbuild.html – Lex Li May 16 '12 at 11:58