views:

39

answers:

1

I am first time using Cruise Control for Automation of build. Please Guide me how can I configure Cruise Control with my CVS Server. I installed Cruise Control , does it require any extra plug-in. how can I write config file, Where i have to place it.

A: 

Edit: More pertinent instructions:

From here:

example using pserver authentication

<sourcecontrol type="cvs">
   <executable>..\tools\cvs.exe</executable>
   <cvsroot>:pserver:[email protected]:/cvsroot/ccnet</cvsroot>
   <module>ccnet</module>
   <workingDirectory>c:\projects\ccnet</workingDirectory>
</sourcecontrol>

example using ssh via putty

<sourcecontrol type="cvs">
   <executable>c:\putty\cvswithplinkrsh.bat</executable>
   <cvsroot>:ext:mycvsserver:/cvsroot/myrepo</cvsroot>
   <module>mymodule</module>
   <workingDirectory>c:\fromcvs\myrepo</workingDirectory>
</sourcecontrol>

Loads of information here : http://confluence.public.thoughtworks.org/display/CCNET/Using+CruiseControl.NET+with+CVS

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

Preet Sangha
Note that the first link is for Cruise Control .NET and the second one for Cruise Control.
Benjamin Baumann
cheers - still not sure which one the questioner wants.
Preet Sangha
@Benjamin Baumann.. Yes I want to use Cruise Control.NET
maqsood
I don't know the purpose of this batch."cvswithplinkrsh.bat" in first link. I don't need to use any SSH client.
maqsood
tat's just command line program used to access CVS
Preet Sangha
Thanks Preet .it seems i have to download Putty.exe for ssh client. But i don't need to use any security. Is there any way I only enter my cvs-server id and password in config file. Cruise control directly connect me with cvs and start working.
maqsood
I am still facing problem. Please have a look on my ccnet.config file
maqsood
My ccnnet.config file.<cruisecontrol xmlns:cb="urn:ccnet.config.builder"> <!-- This is your CruiseControl.NET Server Configuration file. Add your projects below! --> <project name="Abs.Web.cCon.Mobile" /> <sourcecontrol type="cvs"> <executable>..\tools\cvs.exe</executable> <cvsroot>:pserver:maqsood.ahmad@cvs-server:/cvsroot/Afrah</cvsroot> <module>ccnet</module> <workingDirectory>D:\projects\Abs.Web.cCon.Mobile</workingDirectory> </sourcecontrol> </cruisecontrol> and the error message when i run ccnet.exe..
maqsood
maqsood - please edit your question.
Preet Sangha
My ccnnet.config file.<cruisecontrol xmlns:cb="urn:ccnet.config.builder"> <!-- This is your CruiseControl.NET Server Configuration file. Add your projects below! --> <project name="Abs.Web.cCon.Mobile" /> <sourcecontrol type="cvs"> <executable>..\tools\cvs.exe</executable> <cvsroot>:pserver:maqsood.ahmad@cvs-server:/cvsroot/Afrah</cvsroot> <module>ccnet</module> <workingDirectory>D:\projects\Abs.Web.cCon.Mobile</workingDirectory> </sourcecontrol> </cruisecontrol> and the error message when i run ccnet.exe.. –
maqsood
Thanks friend.I solved the issue.
maqsood