how to change port number for Jenkins installation In Ubuntu 12.04

前端 未结 5 1580
星月不相逢
星月不相逢 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 07:56

    For others still looking for answers you can go to /etc/sysconfig/jenkins in CentOS/RHEL or /etc/default/jenkins in Debian based distributions and change the JENKINS_PORT= variable to whatever port you want. Restart jenkins, and it should be running on your desired port.

提交回复
热议问题