Thank you very much Robert!! that really worked!



On Friday, November 16, 2012 1:38:53 PM UTC+1, Robert Sandell wrote:
>
> If the method gets called during a page request you could get the info 
> from the StaplerRequest
>
>  
>
> Stapler.getCurrentRequest().findAncestorObject(AbstractProject.class);
>
>  
>
> * *
>
> *Robert Sandell*
>
> Software Tools Engineer - SW Environment and Product Configuration
>
> Sony Mobile Communications
>
>  
>
> *From:* jenkin...@googlegroups.com <javascript:> [mailto:
> jenkin...@googlegroups.com <javascript:>] *On Behalf Of *Edding
> *Sent:* den 15 november 2012 15:41
> *To:* jenkin...@googlegroups.com <javascript:>
> *Subject:* Using job name in Descriptor
>
>  
>
> Hello,
>
>  
>
> I'm writing a plugin that extends the extension point Trigger.
>
>  
>
> I need to get the name of the job that is currently accessing its 
> configuration page from a method in my DescriptorImpl class. Any ideas? do 
> you think it's possible?
>
>  
>
> Thanks!
>

Reply via email to