[JENKINS-69183] It is impossible to update disabled plugins (#7040)

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
This commit is contained in:
EBIBOandDaniel Beck authored and GitHub committed 2022-12-08 06:12:29 -08:00
1 parent ef2cc881b5
commit 304b4b3197
2 files changed
+13 -6

No files matched your search

+1 -1
View File
@@ -1717,7 +1717,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
if (p == null) {
throw new Failure("No such plugin: " + n);
}
Future<UpdateCenter.UpdateCenterJob> jobFuture = p.deploy(dynamicLoad, correlationId, batch);
Future<UpdateCenter.UpdateCenterJob> jobFuture = p.deploy(dynamicLoad, correlationId, batch, false);
installJobs.add(jobFuture);
}