how to change port number for Jenkins installation In Ubuntu 12.04

前端 未结 5 1538
星月不相逢
星月不相逢 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:20

    In my case,I add

     HTTP_PORT="XXXX"
     JENKINS_ARGS="--httpPort=XXXX" 
    

    when defining the variables at the beginning of /etc/default/jenkins,it works .

提交回复
热议问题