Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Two Instances of Jenkins – Same Machine

DZone's Guide to

Two Instances of Jenkins – Same Machine

· DevOps Zone ·
Free Resource

Can you release faster without sacrificing quality? See how with our free ebook Strategies for a Successful Test Automation Project and a free trial of Ranorex Studio today!

Using tomcat for war deployment

If two instances of tomcat run, one can see the jobs replicated!

The solution is simple – add the following line in the catalina.sh

JAVA_OPTS=”$JAVA_OPTS -DJENKINS_HOME=<folder details>”

The default folder is ~/.jenkins

More on this here

Get your test automation project off to the right start. Download your free test planning template and a 30-day no-obligation trial of Ranorex Studio today!

Topics:
java ,tool

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}