Jenkins is giving me a warning:
Jenkins root URL is empty but is required for the proper operation of many Jenkins features like email notifications, PR status update, and environment variables such as BUILD_URL. Please provide an accurate value in Jenkins configuration.
The link to Jenkins configuration is /configure, but there is no "Root URL" field there. Where can this be set?
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.
Let's say that you have a build that needs NodeJS. It is possible to use a NodeJS Plugin for it, but we will use it as an example. Go to the Manage Jenkins > Global Tool Configuration page and to find the Custom Tool section there.
To see Jenkins, simply bring up a web browser and go to URL http :// myServer :8080 where myServer is the name of the system running Jenkins.
In the Jenkins dashboard, click Manage Jenkins from the left hand side menu. Then click on 'Configure System' from the right hand side.
It is located in Manage Jenkins -> Configure System -> Jenkins Location.
Note: if you want to change Jenkins URL, I recommend to read this and this answers first.
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