如何将 CC.Net 设置为服务?
我正在尝试设置 Cruise Control,使其作为服务运行。这是怎么做到的?另外,我在维权方面可能会遇到哪些困难?
I am trying to set up Cruise Control so that it runs as a service. How is this done? Also what difficulties as far as rights go might I run into?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以查看相关的官方文档。也就是说,我过去曾这样做过,而不必费心处理任何不寻常的事情。
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.
我尝试过使用 CC.Net,但我发现自己花了更多的时间来保持构建的顺利运行,而不是编码......我切换到 TeamCity,因为它对中小型项目免费。
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.
在 CC.NET 的安装文件夹中,您将找到两个可执行文件,即。 ccnet.exe 和 ccnetservice.exe。前者是控制台模式主机,后者是 Windows 服务。您可以从 Windows 服务控制器面板启动/停止该服务。 (开始->运行->Services.msc)。请确保两个 exe 在配置文件中具有相同的内容。
詹姆斯
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