public class ProcessLauncher extends Object
| Constructor and Description |
|---|
ProcessLauncher() |
| Modifier and Type | Method and Description |
|---|---|
static int |
exec(Map<String,String> args,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Execute some command using library.
|
public static int exec(Map<String,String> args, hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
args - - map of command line argumentsbuild - - build runlauncher - - process starting launcherlistener - - build listenerIOException - - if IO exception occurred during executionInterruptedException - - if execution of process was interruptedCopyright © 2016–2024. All rights reserved.