Package hudson.tasks
Class Ant
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.tasks.Ant
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
Ant launcher.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Represents the Ant installation on the system.static class
Automatic Ant installer from apache.org.static class
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAnt()
Gets the Ant to invoke, or null to invoke the default one.Gets the ANT_OPTS parameter, or null.boolean
perform
(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) protected static ArgumentListBuilder
Backward compatibility by checking the number of parametersMethods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
Ant
-
-
Method Details
-
getBuildFile
-
getProperties
-
getTargets
-
getAnt
Gets the Ant to invoke, or null to invoke the default one. -
getAntOpts
Gets the ANT_OPTS parameter, or null. -
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
toWindowsCommand
Backward compatibility by checking the number of parameters -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-