Two Instances of Jenkins – Same Machine
Join the DZone community and get the full member experience.Join For Free
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
Jenkins (software) Machine Apache Tomcat career WAR (file format)
Published at DZone with permission of Jagannathan Asokan, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
What Is JHipster?
Clear Details on Java Collection ‘Clear()’ API
Hibernate Get vs. Load
Measuring Service Performance: The Whys and Hows