mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 02:26:18 +00:00
Merge branch 'SECURITY-144' into SECURITY-144-rc
Conflicts: core/src/main/java/hudson/EnvVars.java core/src/main/java/hudson/FilePath.java core/src/main/java/hudson/cli/ClientAuthenticationCache.java core/src/main/java/hudson/markup/MyspacePolicy.java core/src/main/java/hudson/model/Computer.java core/src/main/java/hudson/node_monitors/DiskSpaceMonitorDescriptor.java core/src/main/java/hudson/node_monitors/ResponseTimeMonitor.java core/src/main/java/hudson/node_monitors/TemporarySpaceMonitor.java core/src/main/java/hudson/security/AbstractPasswordBasedSecurityRealm.java core/src/main/java/hudson/slaves/Channels.java core/src/main/java/hudson/slaves/SlaveComputer.java core/src/main/java/hudson/tasks/Fingerprinter.java core/src/main/java/hudson/tasks/Shell.java core/src/main/java/hudson/tasks/junit/JUnitParser.java core/src/main/java/hudson/tasks/test/DefaultTestResultParserImpl.java core/src/main/java/hudson/util/ProcessTree.java core/src/main/java/hudson/util/RemotingDiagnostics.java core/src/main/java/jenkins/model/Jenkins.java core/src/test/java/hudson/LauncherTest.java pom.xml test/src/test/java/hudson/tasks/junit/CaseResultTest.java
This commit is contained in:
commit
89cbfc4639
60 files changed
+1200
-301
No files matched your search
@@ -38,6 +38,7 @@ import hudson.remoting.VirtualChannel;
|
||||
import hudson.util.StreamCopyThread;
|
||||
import hudson.util.ArgumentListBuilder;
|
||||
import hudson.util.ProcessTree;
|
||||
import jenkins.security.MasterToSlaveCallable;
|
||||
import org.apache.commons.io.input.NullInputStream;
|
||||
import org.kohsuke.accmod.Restricted;
|
||||
import org.kohsuke.accmod.restrictions.NoExternalUse;
|
||||
@@ -940,7 +941,7 @@ public abstract class Launcher {
|
||||
getChannel().call(new KillTask(modelEnvVars));
|
||||
}
|
||||
|
||||
private static final class KillTask implements Callable<Void,RuntimeException> {
|
||||
private static final class KillTask extends MasterToSlaveCallable<Void,RuntimeException> {
|
||||
private final Map<String, String> modelEnvVars;
|
||||
|
||||
public KillTask(Map<String, String> modelEnvVars) {
|
||||
@@ -1097,7 +1098,7 @@ public abstract class Launcher {
|
||||
IOTriplet getIOtriplet();
|
||||
}
|
||||
|
||||
private static class RemoteLaunchCallable implements Callable<RemoteProcess,IOException> {
|
||||
private static class RemoteLaunchCallable extends MasterToSlaveCallable<RemoteProcess,IOException> {
|
||||
private final List<String> cmd;
|
||||
private final boolean[] masks;
|
||||
private final String[] env;
|
||||
@@ -1169,7 +1170,7 @@ public abstract class Launcher {
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
|
||||
private static class RemoteChannelLaunchCallable implements Callable<OutputStream,IOException> {
|
||||
private static class RemoteChannelLaunchCallable extends MasterToSlaveCallable<OutputStream,IOException> {
|
||||
private final String[] cmd;
|
||||
private final Pipe out;
|
||||
private final String workDir;
|
||||
|
||||
Reference in new issue
Block a user