Hello,

I think you can use `Jenkins.getInstance().getRootDir()` to get a
`java.io.File` of your JENKINS_HOME.

Best regards.
-- Adrien

Le mar. 12 mai 2015 à 06:50, Samith Dassanayake <hisam...@gmail.com> a
écrit :

> Hi all,
> I want to get Jenkins Home in my java code of the plugin. How can I access
> it?
>
> Thanks,
> Samith
>
> --
> 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 jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/d6f3a371-d3e8-45ac-9cdd-b307892fd3ae%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/d6f3a371-d3e8-45ac-9cdd-b307892fd3ae%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAKwJSvzHmLgGEfeemMT0-nqWLOgbMJcNyu%3D19BU2MCO9gy5BHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to