mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
[JENKINS-55582] Refinement to at least handle nonstandard $JENKINS_HOME/plugins/$shortName.hpi and warn about $shortName-$version.hpi.
This commit is contained in:
6 files changed
+19
-1
No files matched your search
@@ -601,7 +601,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
}
|
||||
|
||||
void considerDetachedPlugin(String shortName) {
|
||||
if (new File(rootDir, shortName + ".jpi").isFile()) {
|
||||
if (new File(rootDir, shortName + ".jpi").isFile() || new File(rootDir, shortName + ".hpi").isFile()) {
|
||||
LOGGER.fine(() -> "not considering loading a detached dependency " + shortName + " as it is already on disk");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user