Interface MatlabBuild

    • Method Detail

      • getProcessToRunMatlabCommand

        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
        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
        Parameters:
        workspace - Current build workspace
        launcher - Current build launcher
        listener - Current build listener
        envVars - Environment variables of the current build
        matlabCommand - MATLAB command to execute on shell
        Returns:
        matlabLauncher returns the process launcher to run MATLAB commands
        Throws:
        IOException
        InterruptedException
      • getUniqueNameForRunnerFile

        default String getUniqueNameForRunnerFile()
      • getValidMatlabFileName

        default String getValidMatlabFileName​(String actualName)