|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BuildContext
This interface abstracts the operations which the xcodebuild commands needs in order to execute. This was done so that unit tests could mock this interface and test command building independently of jenkins.
| Method Summary | |
|---|---|
hudson.FilePath |
getBuildFolder()
Returns the FilePath of the current executing build |
hudson.Launcher.ProcStarter |
getProcStarter()
Returns a ProcStart which is pre-configured to log standard error and out to the build listener. |
hudson.FilePath |
getWorkspace()
Returns workspace location of current executing build |
void |
log(String message)
Logs a message to the build listener. |
int |
waitForProcess(hudson.Launcher.ProcStarter processStarter)
This method starts a process and will not return control until either the process is complete or the process is interrupted. |
| Method Detail |
|---|
hudson.FilePath getBuildFolder()
hudson.FilePath getWorkspace()
hudson.Launcher.ProcStarter getProcStarter()
int waitForProcess(hudson.Launcher.ProcStarter processStarter)
void log(String message)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||