runAntJUnitFile

Runs an Ant JUnit test file. Property Replacement will be performed on the file.
See Property Replacement Support for information about Property Replacement.  

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Build File

FDJU_BUILD_FILE

Yes

Path to the Ant script to execute (e.g. /path/to/file.xml). If a relative path is given, a path inside the FD_ARTIFACTS_DIR is assumed.  The ~ character is not supported.

Run Target

FDJU_RUN_TARGET

Yes

Ant script target operation to execute.

Classpath

FDJU_PATH_ELEMENT_CLASS_PATH

No

The Java classpath to locate the test suite, test cases, and dependent classes.

You may use relative paths, which are looked for in FD_TEMP_DIR.

Otherwise, use absolute paths to refer to other locations.

Windows Example

User Input: "classes;c:\\libraries\\library.jar"

Class path Generated: FD_TEMP_DIR\\classes;c:\\libraries\\library.jar

UNIX Example

User Input:"classes:lib/abc.jar:/opt/app/tomcat/lib/myJar.jar:"

Class path Generated: FD_TEMP_DIR/classes:FD_TEMP_DIR/lib/abc.jar:/opt/app/tomcat/lib/myJar.jar

If left blank, the FD_ARTIFACTS_DIR and FD_TEMP_DIR are used as the classpath.

User Input:""

Class path Generated: FD_ARTIFACTS_DIR:FD_TEMP_DIR

Arguments

FDJU_ARGS

No

Semicolon-delimited argument list (e.g. x=1;y=2).

Artifacts

This operation doesn't consume or produce any artifacts.

Endpoint Selection

This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the target.

Selecting a specific resource will result in selection of endpoints associated to the target which have that resource defined.

Endpoint Execution

This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" to will result in execution on all selected endpoints.

The following macros are not currently supported in the footer:
  • style