jenkins.plugins.shiningpanda.utils
Class LauncherUtil
java.lang.Object
jenkins.plugins.shiningpanda.utils.LauncherUtil
public class LauncherUtil
- extends Object
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LauncherUtil
public LauncherUtil()
launch
public static boolean launch(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath pwd,
hudson.EnvVars environment,
hudson.util.ArgumentListBuilder args)
throws InterruptedException
- Launch a process.
- Parameters:
launcher
- The launcherlistener
- The build listenerpwd
- The working directoryenvironment
- The environmentargs
- The arguments
- Returns:
- true if was successful, else false
- Throws:
InterruptedException
createSymlink
public static boolean createSymlink(hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath target,
hudson.FilePath link)
throws InterruptedException,
IOException
- Create a symbolic link.
- Parameters:
launcher
- The launcherlistener
- The listenertarget
- The target filelink
- The link file
- Returns:
- true if successful, else false
- Throws:
InterruptedException
IOException
Copyright © 2004-2012. All Rights Reserved.