Mar 30, 2011

How to change Hudson Jenkins default port.

The Hudson and Jenkins CI build servers run by default on port 8080.

To change this all you have to do is edit the hudson.xml or jenkins.xml
file respectively.
This file is located directly under the build server's installation directory.

You'll notice that the xml contains a <service> which describes the windows
service configuration.

Locate the argument --httpPort=8080 and replace the 8080 port with the one you want.

If you have enabled email notification also change the URL in the E-Mail Notification settings section
inside the Server settings:

Also change the URL of the e-mail notification settings.

3 comments:

  1. I have no words for this great post such a awe-some information i got gathered. Thanks to Author.
    Avatar Html5 Player

    ReplyDelete
  2. I've the port configuration at the following file:
    /etc/sysconfig/jenkins

    enjoy.

    ReplyDelete
  3. Nice! Much simpler to edit the file:
    HUDSON_PORT="8080"
    JENKINS_PORT="8080"

    ReplyDelete