/Pipeline2JUnitXml

Primary LanguagePythonMIT LicenseMIT

Pipeline2junitxml

Reads the JSON output of a Veracode Pipeline Scan and converts it into a standard JUnit test results XML file.

USAGE: python pipeline2junitxml.py -f <results.json> --xml_name <junit_results.xml>

  • <results.json> is the json file to be converted
  • <junit_results.xml> is the name of the xml file to create

STEPS

- Place pipeline2junitxml.py in your pipeline output folder where your results.json file resides.

- Run python pipeline2junitxml.py

- A new file will be created called <junit_results.xml>
  • This xml file can be imported into any jUnit test results reader.