public class ProcessWithPtyLauncher extends Object implements Serializable
ProcessWithPty on a machine & directory that's running a AbstractBuild.| Constructor and Description |
|---|
ProcessWithPtyLauncher() |
| Modifier and Type | Method and Description |
|---|---|
ProcessWithPtyLauncher |
commands(List<String> commands) |
ProcessWithPtyLauncher |
configure(hudson.model.AbstractBuild build,
hudson.model.TaskListener listener)
Configures the launcher to launch the process in the workspace of an in-progress build with the same
set of environment variables.
|
ProcessWithPtyLauncher |
envs(Map<String,String> map)
Overrides on top of what the build gets.
|
org.kohsuke.ajaxterm.ProcessWithPty |
launch(String terminal) |
ProcessWithPtyLauncher |
shell() |
ProcessWithPtyLauncher |
ws(hudson.FilePath ws) |
public ProcessWithPtyLauncher shell()
public ProcessWithPtyLauncher commands(List<String> commands)
public ProcessWithPtyLauncher envs(Map<String,String> map)
public ProcessWithPtyLauncher ws(hudson.FilePath ws)
public ProcessWithPtyLauncher configure(hudson.model.AbstractBuild build, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic org.kohsuke.ajaxterm.ProcessWithPty launch(String terminal) throws IOException, InterruptedException
terminal - if null, a process will be launched without a terminal.IOExceptionInterruptedExceptionCopyright © 2004-2013. All Rights Reserved.