Reputation: 985
I see the option to change Jenkins HTTP port is by passing --httpPort=$HTTP_PORT when Jenkins is started. In Ubuntu the default installation, Jenkins is launched as a daemon up on start. Where do I set -httpPort in Ubuntu?
Upvotes: 0
Views: 1060
Reputation: 575
Add the following two lines after DAEMON_ARGS in the file
/etc/init.d/jenkins
HTTP_PORT=8010 <br/>
JENKINS_ARGS="--httpPort=$HTTP_PORT"
Upvotes: 0
Reputation: 101
Check /etc/default/jenkins - it works for Debian, i suppose it's same on Ubuntu
Upvotes: 1