Build Management Plugins → Apache Ant Plugin → Creating an Execute an Ant Script Step
This step executes an Ant script.
|Ant Script File
|The name of the Ant script file.
|The path to the Ant installation to execute the Ant script. By default, the step uses the agent’s ANT_HOME environment variable. This refers to the path up to (but not including) the bin folder.
|The path to the Java installation to execute Ant. By default, the agent’s JAVA_HOME environment variable is used.
|The names of the targets to run in the Ant script file. If left empty, the default target is run.
|The properties passed to Ant. The properties are made available by name in the Ant script. This is supplied as a newline-separated list in the format name=value.
|Ant-specific arguments. For example, -v is used to indicate verbose output. This is supplied as a newline-separated list.
|JVM-specific arguments. For example -Xmx=512m is used for max memory. This is supplied as a newline-separated list.
|The content of the Ant script. The value provided here is written to the Ant Script File, and then executed.
Copyright © 2013–2017 Serena Software, Inc. All rights reserved.