Hi folks.. new to Jenkins. I know we can change the default port Jenkins listens on from 8080 to whatever we want by editing the jenkins.xml file. Is this possible to setup the port at the time of install or before install ?? Is there a custom install option to specify port # prior to install ? Or maybe some way to automate this ?
Date
Votes
1 comment
-
James Brown Hi Madhu,
Appending this to the java args should do the trick;
--httpPort=$HTTP_PORT
How to Add Java Arguments to Jenkins
This page also has a lot of great information regarding additional Java Arguments
https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins
Please sign in to leave a comment.