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 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 |
getRunnerScript(String script,
String params,
String uniqueTmpFldrName) |
default String |
getUniqueNameForRunnerFile() |
default String |
getValidMatlabFileName(String actualName) |
default void |
prepareTmpFldr(hudson.FilePath tmpFldr,
String runnerScript) |
default String |
replaceZipPlaceholder(String script,
String url) |
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 shellIOException
InterruptedException
default void copyFileInWorkspace(String sourceFile, String targetFile, hudson.FilePath targetWorkspace) throws IOException, InterruptedException
IOException
InterruptedException
default hudson.FilePath getFilePathForUniqueFolder(hudson.Launcher launcher, String uniqueName, hudson.FilePath workspace) throws IOException, InterruptedException
IOException
InterruptedException
default String getUniqueNameForRunnerFile()
default void prepareTmpFldr(hudson.FilePath tmpFldr, String runnerScript) throws IOException, InterruptedException
IOException
InterruptedException
default String getRunnerScript(String script, String params, String uniqueTmpFldrName)
Copyright © 2016–2023. All rights reserved.