On Fri, Aug 28, 2015 at 9:49 AM,  <[email protected]> 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.

-- 
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/CANfRfr0QU7-8aq3nM8FY96sNZHwJGgGg6khkOXPjiMpTeMnSaQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to