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 classRepresents the Ant installation on the system.static classAutomatic Ant installer from apache.org.static classNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested 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.booleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) protected static ArgumentListBuilderBackward compatibility by checking the number of parametersMethods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods 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:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
toWindowsCommand
Backward compatibility by checking the number of parameters -
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-