thanks!

On Thu, Mar 19, 2015 at 4:24 PM, Robert Sandell <[email protected]> wrote:
>
> Stapler.getCurrentRequest().findAncestorObject(Job.class)
>
> /B
>
> On Thu, Mar 19, 2015 at 4:18 PM, Ivo Bellin Salarin
> <[email protected]> wrote:
>>
>> Hi everybody,
>>
>> In the config.jelly of my custom publisher, I would like to display a
>> text. This text should contain the name of the Project to which the
>> publisher is attached.
>>
>> I have had a look at the Publisher javadoc, but I can't find any
>> information related to the containing Job (out of the perfom function).
>>
>> Can I obtain the name of the project to which the Publisher is attached?
>>
>> --
>> 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].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF_WL60tmtRT%2ByuzNXGxrJcEGX0VknvLQ%2Bku%2BgStcC7NMQ%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Robert Sandell
> Software Engineer
> CloudBees Inc.
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS0j6tegGr%2B7rFdG%2BCiC0EAia6O3FZzTryOpQ1Jntx%3Diaw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
http://www.nilleb.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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF_u_eJMGd59RxcvrrhSFiJVVMqEkrqgYnvaXfW0NpwZTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to