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

The Nexus Suite is uniquely architected for a DevOps native world and creates value early in the development pipeline, provides precise contextual controls at every phase, and accelerates DevOps innovation with automation you can trust. Read how in this ebook.

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

The DevOps Zone is brought to you in partnership with Sonatype Nexus.  See how the Nexus platform infuses precise open source component intelligence into the DevOps pipeline early, everywhere, and at scale. Read how in this ebook

Topics:
java ,tool

Published at DZone with permission of Jagannathan Asokan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}