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

DevOps involves integrating development, testing, deployment and release cycles into a collaborative process. Learn more about the 4 steps to an effective DevSecOps infrastructure.

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

Read the 4-part DevOps testing eBook to learn how to detect problems earlier in your DevOps testing processes.

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 }}