public interface MatlabBuild
| Modifier and Type | Method and Description |
|---|---|
default void |
copyFileInWorkspace(String sourceFile,
String targetFile,
hudson.FilePath targetWorkspace) |
default hudson.FilePath |
getFilePathForUniqueFolder(hudson.Launcher launcher,
String uniqueName,
hudson.FilePath workspace) |
default String |
getNodeSpecificTmpFolderPath(hudson.FilePath workspace) |
default hudson.Launcher.ProcStarter |
getProcessToRunMatlabCommand(hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.EnvVars envVars,
String matlabCommand,
String uniqueName)
This Method decorates the launcher with MATLAB command provided and returns the Process
object to launch MATLAB with appropriate startup options like -r or -batch
|
default String |
getUniqueNameForRunnerFile() |
default hudson.Launcher.ProcStarter getProcessToRunMatlabCommand(hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.EnvVars envVars,
String matlabCommand,
String uniqueName)
throws IOException,
InterruptedException
workspace - Current build workspacelauncher - Current build launcherlistener - Current build listenerenvVars - Environment variables of the current buildmatlabCommand - MATLAB command to execute on shellIOExceptionInterruptedExceptiondefault void copyFileInWorkspace(String sourceFile, String targetFile, hudson.FilePath targetWorkspace) throws IOException, InterruptedException
IOExceptionInterruptedExceptiondefault hudson.FilePath getFilePathForUniqueFolder(hudson.Launcher launcher,
String uniqueName,
hudson.FilePath workspace)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptiondefault String getNodeSpecificTmpFolderPath(hudson.FilePath workspace) throws IOException, InterruptedException
IOExceptionInterruptedExceptiondefault String getUniqueNameForRunnerFile()
Copyright © 2016–2020. All rights reserved.