Yes indeed! Thank you Esteban
Cheers Peter PS: If you reply to this question you can even get some points ;) http://stackoverflow.com/questions/15949946/programatically-access-jenkins-url On 11 April 2013 14:35, Esteban Angee <[email protected]>wrote: > Is this what you are looking for? > > JenkinsLocationConfiguration globalConfig = new > JenkinsLocationConfiguration(); > globalConfig.getUrl() > > Kind Regards, > > > On 04/11/2013 08:25 AM, Peter Miklosko wrote: > > How can I programmatically access Jenkins URL field that is configured > through Manage Jenkins > Configure System > Jenkins Location? > > I tried Computer.currentComputer().getUrl() but returns only > computer/(master)/ > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > Esteban Angee Agudelo > Software Engineer > hello2morrow > S.A.S(574)[email protected]http://www.hello2morrow.com > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/kTpbJpW6s3I/unsubscribe?hl=en > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
