The Ant bundled plugin runs Apache Ant builds.


Before you can use the Ant plugin in a chain, ensure that Ant is installed on an agent and added as a capability. For details, see Add capabilities to agents.

Back to top


When you add the Ant plugin step to a chain, specify the following configuration details:

Field Description
Title The name for the step in the chain. Default name: Ant.
Path to ant (Optional) The location of the Ant executable. To use the location defined in your path, leave this field empty.
Targets (Optional) A list of Ant targets, separated by spaces. To use the default target, leave this field empty.
Path to build file from the root directory (Optional) The path to the Ant build script relative to the checkout directory.
Working directory (Optional) The working directory if different from the location of the Ant build script.
Advanced options (Optional)
Additional Ant command-line parameters

A list of Ant command-line parameters, separated by spaces, for example:

-debug -DmyValue=1

Location of Java JDK to use Location of the Java JDK. To use the system JAVA_HOME, leave the field empty.
Java options

Java options, separated by spaces, for example:

-Xms200m -Xmx700m

Back to top

See also: