Issue
I’ve found that if you put the same plugin with both .hpi and .jpi extensions (and with different versions) in JENKINS_HOME/plugins, the .hpi plugin content will be expanded, but the .jpi plugin version will be the one reported under Manage Jenkins → Manage Plugins → Installed.
You may also see an error message such as: "INFO hudson.PluginManager$1$3$1#isDuplicate: Ignoring /Users/USERNAME/jenkins-home/plugins/kubernetes.hpi because /Users/USERNAME/jenkins-home/plugins/kubernetes.jpi is already loaded"
Resolution
-
Verify the versions of both the .hpi and the .jpi file.
-
To get the .hpi version go into the folder of the plugin
$JENKINS_HOME/plugins/PLUGIN/META-INF/MANIFEST.MF. In the MANIFEST.MF you will seePlugin-Version:listing the .hpi version. -
To get the .jpi version go to the Plugin Manager of the UI and it will be displayed there.
-
Alternatively, you can unzip each plugin to a temporary directory, and review the
META-INF/MANIFEST.MF
-
-
Remove the undesired version of either the .hpi or the .jpi from the plugins folder, then restart the instance.