Closed byrondover closed 8 years ago
Jenkins.getInstance().getRootUrl() returns null despite the URL being set through the web UI. JenkinsLocationConfiguration.getUrl() returns the correct URL.
Jenkins.getInstance().getRootUrl()
null
JenkinsLocationConfiguration.getUrl()
Thanks Esteban Angee on StackOverflow: http://stackoverflow.com/questions/15949946/programatically-access-jenkins-url
Resolves: https://github.com/nishio-dens/bitbucket-pullrequest-builder-plugin/issues/19
:+1: This should be merged.
Jenkins.getInstance().getRootUrl()
returnsnull
despite the URL being set through the web UI.JenkinsLocationConfiguration.getUrl()
returns the correct URL.Thanks Esteban Angee on StackOverflow: http://stackoverflow.com/questions/15949946/programatically-access-jenkins-url
Resolves: https://github.com/nishio-dens/bitbucket-pullrequest-builder-plugin/issues/19