How do you set up CC.Net as a service?
I am trying to set up Cruise Control so that it runs as a service. How is this done? Also what difficulties as far a开发者_JAVA百科s rights go might I run into?
You can check out the official documentation on this. That said, I have done it in the past without having to muck about with anything out of the ordinary.
I've tried to use CC.Net but I found myself spending more time to keep things running smoothly on builds than coding... I switched to TeamCity since it's free for small to medium projects.
In the installation folder of CC.NET you will fine two executables viz. ccnet.exe and ccnetservice.exe. The former one is the console mode host and the later a windows service. You can start/stop that service from the windows service controller panel. (Start->Run->Services.msc). Please make sure both the exes have the same contents in the config file.
James
精彩评论