I have jenkins.war and I started it from command prompt in Windows as:
java -jar jenkins.war
It was started well and easily browsed as http://localhost:8080
I want to start on 9090 port. How can I do that?
I have jenkins.war and I started it from command prompt in Windows as:
java -jar jenkins.war
It was started well and easily browsed as http://localhost:8080
I want to start on 9090 port. How can I do that?
Add the following two lines after DAEMON_ARGS in the file
/etc/init.d/jenkins
HTTP_PORT=8010
JENKINS_ARGS="--httpPort=$HTTP_PORT"
Use the following command at command prompt:
If you want to use https use the following command:
Details are here
For the benefit of Linux users who find themselves here: I found /etc/sysconfig/jenkins has a JENKINS_PORT="8080", which you should probably change too.
You can call
to see a list of all available parameters.
Correct, use --httpPort parameter. If you also want to specify the $JENKINS_HOME, you can do like this:
Change the '/etc/init.d/jenkins' shell
Change
8080
to whichever you want