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!

Jet
  • 661
  • 5
  • 11
  • Are you a developer and will the target computer in question be used for development? – Tim Biegeleisen Jul 16 '15 at 00:39
  • I am a developer trainee and we are planning to adopt the continuous delivery strategy, basically we are going to have a build server for development. Thanks Tim – Jet Jul 16 '15 at 00:46
  • It depend on the scenario. For me since we try new plugins we have written a batch scrip which will start Jenkins without using tomcat or as a windows server. – Anuja Lamahewa Jul 16 '15 at 06:05
  • @Anuja I can't see that will fit to our current state.. because we are just starting to learn continuous deployment and automation thing but thank you anyway – Jet Jul 16 '15 at 07:21

1 Answers1

0

From the official documentation for installing Jenkins on Windows:

If you're running on Windows it is good to run Jenkins as a service so it starts up automatically without requiring a user to log in. The easiest way is to run the Windows installer, linked from Jenkins' homepage. This also has the advantage of being easier to automate.

If you deploy Jenkins to Tomcat, then every time you start up your computer you might have to manually start Tomcat. In addition, if you want to stop or pause Jenkins running in a container you may have to manually shut down the container. This can lead to problems if not done properly.

On other hand, if Jenkins be running as a service, then Windows will handle most of these things for you. Unless you need to have very fine grain control over Jenkins I would leave it as a service. One example where you might want to deploy it in Tomcat would be if you wrote a custom plugin and wanted to test it.

Tim Biegeleisen
  • 502,043
  • 27
  • 286
  • 360