1

I need to install the following applications for our continuous delivery strategy:

Jenkins and Apache Archiva

But they offer:

to be install as a windows service or to be deploy in a container (i.e. Tomcat)

I was wondering if installing those applications as a service will give us better performance, reliability, security or whatsoever or the other way around or nothing at all

Thank you!

4

1 回答 1

0

来自在 Windows 上安装 Jenkins 的官方文档

如果您在 Windows 上运行,最好将 Jenkins 作为服务运行,这样它会自动启动而无需用户登录。最简单的方法是运行 Windows 安装程序,从 Jenkins 主页链接。这还具有更容易自动化的优点。

如果将 Jenkins 部署到 Tomcat,那么每次启动计算机时,您可能都必须手动启动 Tomcat。此外,如果您想停止或暂停容器中运行的 Jenkins,您可能必须手动关闭容器。如果操作不当,这可能会导致问题。

另一方面,如果 Jenkins 作为服务运行,那么 Windows 将为您处理大部分这些事情。除非您需要对 Jenkins 进行非常精细的控制,否则我会将其保留为服务。您可能希望在 Tomcat 中部署它的一个示例是,如果您编写了一个自定义插件并想对其进行测试。

于 2015-07-16T01:03:25.313 回答