public class BuildContextImpl extends Object implements BuildContext
| Constructor and Description |
|---|
BuildContextImpl(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
| Modifier and Type | Method and Description |
|---|---|
hudson.FilePath |
getBuildFolder()
Returns the FilePath of the current executing build
|
hudson.FilePath |
getWorkspace()
Returns workspace location of current executing build
|
void |
log(String message)
Logs a message to the build listener.
|
int |
waitForProcess(hudson.FilePath presentWorkingDirectory,
hudson.util.ArgumentListBuilder command)
This method starts a process and will not return control until
either the process is complete or the process is interrupted.
|
int |
waitForProcess(hudson.Launcher.ProcStarter processStarter) |
public BuildContextImpl(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
public hudson.FilePath getWorkspace()
BuildContextgetWorkspace in interface BuildContextpublic int waitForProcess(hudson.Launcher.ProcStarter processStarter)
public void log(String message)
BuildContextlog in interface BuildContextpublic hudson.FilePath getBuildFolder()
BuildContextgetBuildFolder in interface BuildContextpublic int waitForProcess(hudson.FilePath presentWorkingDirectory,
hudson.util.ArgumentListBuilder command)
BuildContextwaitForProcess in interface BuildContextCopyright © 2004-2013. All Rights Reserved.