-
New Feature
-
Resolution: Unresolved
-
Critical
In Jenkins 2 the legacy plugin bundling engine has been removed. It complicates the code, because no we cannot bundle Jenkins plugins anymore and then support their updates. It means that now it's impossible to safely unbundle Core functionality anymore.
My proposal is to implement a new engine which...
- Would allow bundling of Jenkins plugins into Jenkins WAR file
- Install the plugin if it's not installed during the startup (if it's not disabled)
- Allow updating the version above the bundled one
For such cases I propose to partially restore the bundling engine, but without pinning feature.
- is related to
-
JENKINS-36583 plugin bundling broken
-
- Resolved
-
- relates to
-
JENKINS-51306 ATH does not restart instance when withPlugin() requires newer dependency than the bundled version
-
- Closed
-
- links to
danielbeck
Agreed, unbundling still can be implemented. I should have googled for the implementation a bit. On the other hand, there are still some cases, where plugin bundling may be useful. As teilo mentions in
JENKINS-36583, plugin bundling is something we still mention in documentation. Such bundling engine may be still useful for particular Jenkins users, who package their own distributions to whatever reason.The proposed PR in https://github.com/jenkinsci/jenkins/pull/2436 offers an engine, which allows specifying plugin dependencies in WAR files with deployment process being managed by system properties (required plugin and enforced plugin versions). It brings in some extensibility for various Jenkins configurations, which can be deployed from the same WAR.
Would be such engine useful?