mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
Update Javadocs and comments
This commit is contained in:
1 parent
d1c972a055
commit
725fb3026b
3 files changed
+18
-3
No files matched your search
@@ -1719,6 +1719,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
if (toInstall.isForNewerHudson()) {
|
||||
LOGGER.log(WARNING, "{0}@{1} was built for a newer Jenkins", new Object[] {toInstall.name, toInstall.version});
|
||||
}
|
||||
// TODO check Java dependency
|
||||
jobs.add(toInstall.deploy(true));
|
||||
} else if (pw.isOlderThan(requestedPlugin.getValue())) { // upgrade
|
||||
UpdateSite.Plugin toInstall = uc.getPlugin(requestedPlugin.getKey());
|
||||
@@ -1736,6 +1737,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
if (toInstall.isForNewerHudson()) {
|
||||
LOGGER.log(WARNING, "{0}@{1} was built for a newer Jenkins", new Object[] {toInstall.name, toInstall.version});
|
||||
}
|
||||
// TODO check Java dependency
|
||||
if (!toInstall.isCompatibleWithInstalledVersion()) {
|
||||
LOGGER.log(WARNING, "{0}@{1} is incompatible with the installed @{2}", new Object[] {toInstall.name, toInstall.version, pw.getVersion()});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user