Class DetachedPluginsUtil


  • @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class DetachedPluginsUtil
    extends Object
    Dedicated class to handle the logic related to so-called detached plugins.

    Originally, some features were directly in Jenkins core. Over time, more and more features got extracted in dedicated plugins. Issue is: many plugins had started depending on these features, that now were not in the core anymore. So the chosen design strategy has been that the jenkins.war would embed these plugins, and automatically install them and mark them as optional dependencies. This way, older plugins would keep working without having to be modified.

    This code was originally moved from ClassicPluginStrategy.

    Since:
    2.163