how to change port number for Jenkins installation In Ubuntu 12.04

前端 未结 5 1635
星月不相逢
星月不相逢 2021-02-02 07:52

I am trying to install jenkins in ubuntu. I have followed the commands below:

wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -

e         


        
5条回答
  •  天命终不由人
    2021-02-02 08:08

    You can go to /etc/default/jenkins and add --httpPort=9999 or whatever port to JENKINS_ARGS.

    Then you should restart Jenkins with sudo service jenkins restart.

提交回复
热议问题