Merge branch 'security-stable-1.642' into security-stable-1.651

This commit is contained in:
Jesse Glick committed 2017-04-13 13:40:56 -04:00
commit 189f101dcb
24 files changed
+432 -26

No files matched your search

@@ -803,6 +803,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
LogFactory.release(uberClassLoader);
}
@RequirePOST
public HttpResponse doUpdateSources(StaplerRequest req) throws IOException {
Jenkins.getInstance().checkPermission(CONFIGURE_UPDATECENTER);
@@ -825,6 +826,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
/**
* Performs the installation of the plugins.
*/
@RequirePOST
public void doInstall(StaplerRequest req, StaplerResponse rsp) throws IOException, ServletException {
boolean dynamicLoad = req.getParameter("dynamicLoad")!=null;
final List<Future<UpdateCenter.UpdateCenterJob>> deployJobs = new ArrayList<>();