public class LauncherUtil extends Object
Constructor and Description |
---|
LauncherUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
createSymlink(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath target,
hudson.FilePath link)
Create a symbolic link.
|
static boolean |
launch(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath pwd,
hudson.EnvVars environment,
hudson.util.ArgumentListBuilder args)
Launch a process.
|
public static boolean launch(hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.FilePath pwd, hudson.EnvVars environment, hudson.util.ArgumentListBuilder args) throws InterruptedException
launcher
- The launcherlistener
- The build listenerpwd
- The working directoryenvironment
- The environmentargs
- The argumentsInterruptedException
public static boolean createSymlink(hudson.Launcher launcher, hudson.model.TaskListener listener, hudson.FilePath target, hudson.FilePath link) throws InterruptedException, IOException
launcher
- The launcherlistener
- The listenertarget
- The target filelink
- The link fileInterruptedException
IOException
Copyright © 2004-2018. All Rights Reserved.