Hi Baptiste,
sorry for the mistake. This is my 
repository: https://github.com/tommyv92/spoke-hub-integration.git
I have a class SlashCommandGlobalConfig that extends GlobalConfiguration. 
In my class there is the getSlashCommandGlobalConfig() method which is 
invoked by the constructor of the SlackWebhookEndpoint class. When I 
install my plugin in Jenkins and SlackWebhookEndpoint contructor gets the 
SlashCommandGlobalConfig instance, the instance is always null. If I 
restart Jenkins, the instance is not null.

Il giorno domenica 28 febbraio 2016 21:45:21 UTC+1, Baptiste Mathus ha 
scritto:
>
> And btw, just saw the other thread with Vincent's answer. Seems like 
> there're actually 3 mails of you for that subject. Please at all costs, 
> avoid posting multiple times (and even more on different subjects). This is 
> dispersing the information and considered noisy by many readers.
> Thanks
>
> 2016-02-28 21:42 GMT+01:00 Baptiste Mathus <[email protected] <javascript:>>
> :
>
>> Would be simpler if you can point to a github plugin so that people here 
>> can help more easily. And I guess you'll need to clarify what is null and 
>> so on.
>>
>> Cheers
>>
>> 2016-02-26 11:10 GMT+01:00 Tommy Montingelli <[email protected] 
>> <javascript:>>:
>>
>>> Hi,
>>> I have a class that extends GlobalConfiguration. When I install my 
>>> plugin in Jenkins and my class is instantiated, the instance is null. If I 
>>> restart Jenkins, the instance is not null. 
>>> What should I do to avoid restarting Jenkins after installation of my 
>>> Plugin?
>>> Thanks
>>>
>>> -- 
>>> 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] <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-dev/7bd0a767-79b6-4b57-b9d6-70e85fbd0e8c%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-dev/7bd0a767-79b6-4b57-b9d6-70e85fbd0e8c%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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/7c4c2862-80ea-48cd-8046-0fce844f128c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to