Thanks Robert. It helped me a lot.
>
> /B
>
> On Tue, Apr 12, 2016 at 9:56 AM, Marcin Zajączkowski <
msz...@wp.pl> wrote:
>
>> On Monday, April 11, 2016 at 6:29:59 PM UTC+2, Marcin Zajączkowski wrote:
>>>
>>> Hi,
>>>
>>> In the plugin implemented as Notifier (Rundeck plugin) I would like to
>>> add global cache (one, available for every job using that plugin) to not
>>> make the same REST call for various jobs (which on a Jenkins instance
>>> hundreds of jobs increase startup time slightly).
>>>
>>> Is there any mechanism (a place) in Jenkins which I could use to store
>>> those cached values? If not what is a preferred solution to implement cope
>>> with it?
>>>
>>
>> As In fact it is only needed when jobs are parsed at the Jenkins startup
>> (RundeckJobProjectLinker)Action is created for every build in the history,
>> so the requirements can be simplified to make it available only on master
>> (no need to propagate across slaves) and it can be transient (rebuilt on
>> reset). Static ConcurrentHashMap in that class would be probably the
>> easiest implementation, but it smells bad. Maybe there is a storage in
>> Jenkins to keep those shared values?
>>
>> Marcin
>>
>>
>>
>>>
>>> Marcin
--