mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 23:25:52 +00:00
Merge branch 'security-stable-1.642' into security-stable-1.651
This commit is contained in:
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<>();
|
||||
|
||||
Reference in new issue
Block a user