parseJUnitTestResults

Parses JUnit formatted test results and generates a FlexDeploy test results file.

This operation is especially useful when using a testing tool that is not natively supported by FlexDeploy.

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Results File

FDJU_INP_RESULTS_FILE

No

Path to the test results file to be parsed.

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.  

Special Considerations

This operation is primarily for use with unit testing tools that are not supported in FlexDeploy, but allow formatting the test results file to match a JUnit results file. The plugin currently supports JUnit report files based on these schemas:

  • Ant junitreport task output

  • Jenkins JUnit Test Reports

  • Jenkins results from the API in XML or JSON

  • Traditional JUnit test result output

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