Jenkins default port

The Jenkins CI build server runs by default on port 8080. However, if you have other web services starting up you might find that this port is already taken. To change this all you have to do is edit jenkins.xml file located in the build servers installation directory. Find the argument --httpPort=8080 and replace the 8080 port with the one you want. You can specify a different port by using --httpPort=$HTTP_PORT where $HTTP_PORT is the port you want Jenkins to run on. For example start Jenkins by running "java -jar jenkins.war --httpPort=8000"

No comments: