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 class
ExeBuilder.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.DescriptorImpl
DESCRIPTOR
Descriptor 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 String
getCmdLineArgs()
Descriptor<Builder>
getDescriptor()
String
getExeName()
boolean
getFailBuild()
ExeInstallation
getInstallation()
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener tl)
void
setCmdLineArgs(String args)
void
setFailBuild(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:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getDescriptor
public Descriptor<Builder> getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
-