Jenkins url change

2019-02-26 12:34发布

问题:

Currently, we have Jenkins on a Ubuntu 10.04.3 VM. The url for this is http://jenkins.myorg.com:8080/.

Now we need to setup another Jenkins for different project. For that, I cloned above VM and changed its hostname to Jenkins2. Now how to set url for this new vm to like http://jenkins2.myorg.com:8080/.

I am able to access this new Jenkins using its ipaddress:8080.

回答1:

In Manage Jenkins > Configure System there's a field Jenkins URL where you can specify exactly that.