What does “Jenkins URL” means in configuration settings?

前端 未结 3 1577
[愿得一人]
[愿得一人] 2021-01-03 19:37

On Jenkins configuration page in section \"Jenkins URL\" I\'ve set this option to \"http://name_of_my_machine.jenkins:8080/\" Usually I open jenkins by: \"http://localhost:8

3条回答
  •  梦毁少年i
    2021-01-03 20:24

    Jenkins can't determine its URL on its own. So when it needs to create full links that's where the URL is taken from. In general even if you specify the wrong URL it should not affect the way Jenkins works in any significant way. It certainly has no effect on the URL that you enter in your browser to connect to Jenkins server. You can either specify http://localhost:8080 (when connecting from your machine and assuming that you started Jenkins on port 8080) or http://:8080 when connecting from anywhere.

    So no matter what you specify it has no effect on connecting to Jenkins, therefore http://name_of_my_machine.jenkins:8080/ won't work, as .jenkins is not part of the name (e.g. ping name_of_my_machine.jenkins won't find the host).

提交回复
热议问题