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

This commit is contained in:
Jesse Glick committed 2017-04-13 13:37:06 -04:00
commit a18f7432fe
24 files changed
+432 -26

No files matched your search

@@ -782,6 +782,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);
@@ -804,6 +805,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<>();