On Fri, Aug 28, 2015 at 9:49 AM, <
vojta....@gmail.com> wrote:
> My Jenkins plugin implements an TransientProjectActionFactory in order to
> provide project-level action. Unfortunately the action doesn't appear until
> the Jenkins is restarted.
Probably the factory is getting used for newly created and newly
modified projects, but not for existing projects which were not
reconfigured, since there is a cache of transient actions.
Try using `TransientActionFactory<Job>` (or
`TransientActionFactory<AbstractProject>` if required) instead. This
gets called every time `getAllActions` is called, without caching.
This means your implementation must have no measurable overhead, of
course.