public class DockerLauncher
extends hudson.Launcher.DecoratedLauncher
execve
Jenkins relies on remoting channel to run commands / process on executor. As Docker can as well be used to run a
process remotely, we can just bypass jenkins remoting.Constructor and Description |
---|
DockerLauncher(hudson.model.TaskListener listener,
hudson.remoting.VirtualChannel channel,
boolean isUnix,
DockerProvisioner provisioner) |
Modifier and Type | Method and Description |
---|---|
hudson.Proc |
launch(hudson.Launcher.ProcStarter starter) |
getChannel, getComputer, getInner, getListener, isUnix, kill, launch, launch, launchChannel, toString
public DockerLauncher(hudson.model.TaskListener listener, hudson.remoting.VirtualChannel channel, boolean isUnix, DockerProvisioner provisioner)
public hudson.Proc launch(hudson.Launcher.ProcStarter starter) throws IOException
launch
in class hudson.Launcher.DecoratedLauncher
IOException
Copyright © 2016–2017. All rights reserved.