mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 04:22:16 +00:00
Merge branch 'security' into security-rc
This commit is contained in:
commit
30f37b2c3a
2 files changed
-4
No files matched your search
@@ -62,7 +62,6 @@ import jenkins.model.Jenkins;
|
||||
import jenkins.slaves.WorkspaceLocator;
|
||||
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.kohsuke.stapler.DataBoundConstructor;
|
||||
import org.kohsuke.stapler.HttpResponse;
|
||||
import org.kohsuke.stapler.QueryParameter;
|
||||
import org.kohsuke.stapler.StaplerRequest;
|
||||
@@ -134,7 +133,6 @@ public abstract class Slave extends Node implements Serializable {
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
@DataBoundConstructor
|
||||
public Slave(String name, String nodeDescription, String remoteFS, String numExecutors,
|
||||
Mode mode, String labelString, ComputerLauncher launcher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties) throws FormException, IOException {
|
||||
this(name,nodeDescription,remoteFS,Util.tryParseNumber(numExecutors, 1).intValue(),mode,labelString,launcher,retentionStrategy, nodeProperties);
|
||||
|
||||
@@ -5,7 +5,6 @@ import hudson.node_monitors.DiskSpaceMonitorDescriptor.DiskSpace;
|
||||
|
||||
import org.kohsuke.accmod.Restricted;
|
||||
import org.kohsuke.accmod.restrictions.NoExternalUse;
|
||||
import org.kohsuke.stapler.DataBoundConstructor;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.logging.Logger;
|
||||
@@ -21,7 +20,6 @@ public abstract class AbstractDiskSpaceMonitor extends NodeMonitor {
|
||||
*/
|
||||
public final String freeSpaceThreshold;
|
||||
|
||||
@DataBoundConstructor
|
||||
public AbstractDiskSpaceMonitor(String threshold) throws ParseException {
|
||||
this.freeSpaceThreshold = threshold;
|
||||
DiskSpace.parse(threshold); // make sure it parses
|
||||
|
||||
Reference in new issue
Block a user