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:8080/" But this new option did not work for me - Jenkins does not open. So what does it mean?
Once the installation is complete, you can access Jenkins using the http://localhost:8080 (8080 is the default port for Jenkins server unless you haven't provided any specific port by yourself).
The file config. xml in the Jenkins home folder. Right.
Fixing a root urlGo to Jenkins > Manage Jenkins > Configure System, and locate the section titled "Jenkins Location". You should see the warning here as well. Replace "localhost" with a valid hostname. Click Save.
Jenkins is a leading open source CI server. It is flexible, providing hundreds of plugins to support building, testing, and deployment, and is capable of automating any project. Jenkins CI infrastructure can be deployed to on-prem, in the cloud using configuration management tools, and third-party vendor.
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://<machine_hostname>: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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With