public class Ant
extends hudson.tasks.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 |
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(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public String getBuildFile()
public String getProperties()
public String getTargets()
public Ant.AntInstallation getAnt()
public String getAntOpts()
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public Ant.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016. All rights reserved.