JUnit Parser task can not find JUnit results

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible


JUnit Parser task is not generating the test results because it can't find JUnit results file.


The following message can be found in the build logs which shows where the test results are being parsed:

Parsing test results under /bamboo/bamboo-agent-home/xml-data/build-dir/PROJECT-PLAN-JOB1...


The most common cause of this error is that the JUnit Parser task is not configured with the correct JUnit test results location.


  1. Check the build logs and search for where the test results are being generated, such as:

    Automated Testing is complete. Result file located at /bamboo/bamboo-agent-home/xml-data/build-dir/UnitTestResults/TestResults.xml
  2. Go to the JUnit Parser task configuration and change the path to the correct directory

Last modified on Sep 3, 2021

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.