On Fri, Sep 13, 2024 at 11:34 PM Bryan Stopp <[email protected]> wrote:
> Can anyone guide me on how to get a plugin to be registered in the system > correctly such that permissions show up in the Matrix group/item view, *on > boot*. > > If i navigate to the `Manage` view, then go to the Security section, my > permission group and individual permissions show up. However, if i navigate > directly to the Security view they do not. > > I assume it has something to do with Jenkins not finding my class or its > describable/descriptor on boot. But I'm not able to figure out what i'm > doing wrong. > Workarounds to JENKINS-17200 involve writing code that gets loaded early through some mechanism. Extensions aren't bad, but they are only really loaded on demand I think, depending on how you register them, and probably what you're experiencing. You could try an @Initializer annotated method to make Jenkins load your class earlier than it would otherwise. -- 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/CAMo7PtLoZVb9WiyCvU%3DPZKWL3ny6r3oe4OMZf1sUiRnQka37KQ%40mail.gmail.com.
