public class Ant extends Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
Ant.AntInstallation
Represents the Ant installation on the system.
|
static class |
Ant.AntInstaller
Automatic Ant installer from apache.org.
|
static class |
Ant.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherListBUILDERS, PUBLISHERS| Constructor and Description |
|---|
Ant(String targets,
String antName,
String antOpts,
String buildFile,
String properties) |
| Modifier and Type | Method and Description |
|---|---|
Ant.AntInstallation |
getAnt()
Gets the Ant to invoke,
or null to invoke the default one.
|
String |
getAntOpts()
Gets the ANT_OPTS parameter, or null.
|
String |
getBuildFile() |
Ant.DescriptorImpl |
getDescriptor() |
String |
getProperties() |
String |
getTargets() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
protected static ArgumentListBuilder |
toWindowsCommand(ArgumentListBuilder args)
Backward compatibility by checking the number of parameters
|
all, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, prebuildpublic String getBuildFile()
public String getProperties()
public String getTargets()
public Ant.AntInstallation getAnt()
public String getAntOpts()
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerInterruptedExceptionIOExceptionprotected static ArgumentListBuilder toWindowsCommand(ArgumentListBuilder args)
public Ant.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Builder>getDescriptor in class BuilderCopyright © 2016–2019. All rights reserved.