Package com.mathworks.ci
Class RunMatlabCommandBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- com.mathworks.ci.RunMatlabCommandBuilder
-
- All Implemented Interfaces:
MatlabBuild
,hudson.ExtensionPoint
,hudson.model.Describable<hudson.tasks.Builder>
,hudson.tasks.BuildStep
,jenkins.tasks.SimpleBuildStep
public class RunMatlabCommandBuilder extends hudson.tasks.Builder implements jenkins.tasks.SimpleBuildStep, MatlabBuild
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RunMatlabCommandBuilder.RunMatlabCommandDescriptor
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
-
-
Constructor Summary
Constructors Constructor Description RunMatlabCommandBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMatlabCommand()
void
perform(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener)
void
setMatlabCommand(String matlabCommand)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
Methods inherited from interface com.mathworks.ci.MatlabBuild
copyFileInWorkspace, getFilePathForUniqueFolder, getProcessToRunMatlabCommand, getRunnerScript, getUniqueNameForRunnerFile, getValidMatlabFileName, prepareTmpFldr
-
-
-
-
Method Detail
-
setMatlabCommand
@DataBoundSetter public void setMatlabCommand(String matlabCommand)
-
getMatlabCommand
public String getMatlabCommand()
-
perform
public void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfacejenkins.tasks.SimpleBuildStep
- Throws:
InterruptedException
IOException
-
-