Starting Cruise Control.NET as a Service

I've been setting up and testing CCNet for some time now, using Virtual PC to host it. Everything went well, and it was decided to transfer the configuration to the server location, which was as good as expected. A few tricks and punches, and I worked as before.

The problem is that now we need to launch CCNet as a service that is problematic.

I configured a domain-level user with the same access rights as me (in the end, the console application has been working as I have been for about 3 months) and configured the service to run under this user.

I started the service, and she hanged herself! [I will not bore you with information on how to make the service stop and close open sockets. When I was able to start the console again, I did โ€œRun Asโ€ and entered the user data โ€œcruisecontrolโ€, click โ€œOKโ€ and saw that there was a problem accessing SVN via https. I sorted this out by running IE as a "cruisecontrol", going to the repository and accepting / installing the certificate. Then, when I started the console application as "cruisecontrol", it freezes after the following lines:

2009-01-15 16:55:50,994 [Pepsi Webservices:DEBUG] Running Subversion with arguments : log --xml --limit 1 https://ash-dev-005.[path to trunk]

2009-01-15 16: 55: 51,478 [Pepsi Webservices: DEBUG] Authentication realm: https: // ash-dev-005. [Path to repository] Subversion Repositories

, ( ), . "cruisecontrol" , .

, : "cruisecontrol" . 'svn update', .

, - ":..." ! , , CCNet, . CCNet/SVN , -? , ?

, - ( cruisecontrol ). , - - , ( cruisecontrol) , .

, cruisecontrol ( , cruisecontrol Run As) .

?   , CCNet ?    ( )?

/ .

+4
4

- , ( , ).

- CCNet, , ( ). SVN, , , , .

SVN , , , % app_data%\Subversion\auth\svn.simple . .

CCService , , , .

, , . ThoughtWorks.

+2

, cc.net , , . (ccservice.exe.config cc.exe.config).

+1

. subversion . sourcecontrol :

<sourcecontrol type="svn">
    <trunkUrl>http://myserver/svn/myproject/trunk</trunkUrl>
    <workingDirectory>C:\source\MyProject</workingDirectory>
    <username>foo</username>
    <password>bar</password>
    <autoGetSource>true</autoGetSource>
</sourcecontrol>
+1

, , CruiseControl , , , svn. , , , , , , - , . , CC.NET , , , , - . , - - , , , , . , , , subversion.

0
source

All Articles