Class ExeBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- org.jenkinsci.plugins.windows_exe_runner.ExeBuilder
-
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep,SimpleBuildStep
public class ExeBuilder extends Builder implements SimpleBuildStep
- Author:
- Yasuyuki Saito
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExeBuilder.DescriptorImpl-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
Fields Modifier and Type Field Description static ExeBuilder.DescriptorImplDESCRIPTORDescriptor should be singleton.-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description ExeBuilder(String exeName)ExeBuilder(String exeName, String cmdLineArgs, boolean failBuild)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCmdLineArgs()Descriptor<Builder>getDescriptor()StringgetExeName()booleangetFailBuild()ExeInstallationgetInstallation()voidperform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener tl)voidsetCmdLineArgs(String args)voidsetFailBuild(boolean f)-
Methods inherited from class hudson.tasks.Builder
all, 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 jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Field Detail
-
DESCRIPTOR
@Extension public static final ExeBuilder.DescriptorImpl DESCRIPTOR
Descriptor should be singleton.
-
-
Constructor Detail
-
ExeBuilder
@Deprecated public ExeBuilder(String exeName, String cmdLineArgs, boolean failBuild)
Deprecated.
-
ExeBuilder
@DataBoundConstructor public ExeBuilder(String exeName)
-
-
Method Detail
-
getExeName
public String getExeName()
-
getCmdLineArgs
@CheckForNull public String getCmdLineArgs()
-
setCmdLineArgs
@DataBoundSetter public void setCmdLineArgs(String args)
-
getFailBuild
public boolean getFailBuild()
-
setFailBuild
@DataBoundSetter public void setFailBuild(boolean f)
-
getInstallation
public ExeInstallation getInstallation()
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener tl) throws InterruptedException, IOException
- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getDescriptor
public Descriptor<Builder> getDescriptor()
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-
-