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
Published at DZone with permission of Jagannathan Asokan, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.