Forum Discussion

westlake91361's avatar
westlake91361
New Contributor
7 years ago

Generated Junit style reports cannot be recognized.

I tried to use Junit parser on Bamboo to run against the generated TEST-*.xml files but got error even though I made sure all reports do exist.

 

simple  28-Jul-2017 10:58:15   Parsing test results under C:\bamboo-home\xml-data\build-dir\37027841\TEST-TEST-JOB1...

simple  28-Jul-2017 10:58:15   Failing task since test cases were expected but none were found.

 

The Junit parser on Bamboo is configured to use the custom results directory: ${bamboo.build.working.directory}\TEST-*.xml

 

Comments are appreciated!

2 Replies

  • sanj's avatar
    sanj
    Super Contributor

    Conceptually similar to Jenkins

    I am able to parse through the JUNIT xml files.

    try to look at your console logs to see whats happening

    Maybe an issue with folder location

    • westlake91361's avatar
      westlake91361
      New Contributor

      I have test results file in C:\bamboo-home\xml-data\build-dir\37027841\TEST-TEST-JOB1\test-reports. And have the Junit parser job to go the result directory: **/test-reports/*.xml. But still got the same error.