-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provided plugins overwritten by detached-plugins on startup #926
Comments
I am having this exact issue. It seems to only be happening with Jenkins 2.176.2 and up, at 2.176.1 all works as you'd expect. |
Correct, 2.176.1 works. However I can confirm that this issue still exists in 2.176.3 |
Seems that this relates to https://issues.jenkins-ci.org/browse/JENKINS-57528 The plugins must not be installed as *.hpi files otherwise Jenkins will ignore them. |
By making the following changes to
I also tested updating and downgrading a plugin and all seemed to work. -I'm not able to make a Pull Request from work for this but might be able to get one done at home tonight.- |
As of Jenkins 2.176.2 detached plugins were taking precedence over specified plugins due to a fix that was introduced for docker: https://issues.jenkins-ci.org/browse/JENKINS-57528. The fix in Jenkins ensured stricter processing of plugins. the module was installing plugins as `.hpi` files where Jenkins expects them to be `.jpi` files. This problem was highlighted in voxpupuli#926.
Hi. How can the following behaviour be suppressed:
I configure a hash of plugins to be installed like so:
class { 'jenkins': plugin_hash => { <...> } }
I would like the latest versions to be installed. But all plugins listed in the hash that are also packaged in the WAR as detached plugins get downgraded to this respective version. First, puppet correctly copies them as "hpi", but on service start they are deleted and replaced by the "jpi"s from the original WAR, virtually being downgraded.
The text was updated successfully, but these errors were encountered: