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)5804555
[email protected]
http://www.hello2morrow.com

--
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.


Reply via email to