I think the method you want is Item#getFullName.

> On Oct 16, 2017, at 12:29 PM, Jeeva Chelladhurai <[email protected]> wrote:
> 
> Hello All,
> 
> I have a small groovy script that can iterate thru the jobs and folders, and 
> print the details as listed shown below
> 
> hudson.model.FreeStyleProject@3a0ddf4f[Project/SubProject/Service]
> 
> However I would like to just extract Project/SubProject/Service, what is the 
> right getter function to get his detail?
> 
> Thanks,
> Jeeva
> 
> -- 
> Jeeva K S Chelladhurai
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/CAK5CbZXQgbLJug5DSQ2oQTj9V9v0HSs%3Dm2vthXxKFTwwLNQt5g%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/CAK5CbZXQgbLJug5DSQ2oQTj9V9v0HSs%3Dm2vthXxKFTwwLNQt5g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/BAD43EF9-00F5-4430-9287-6549820CF3EE%40cloudbees.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to