Hi All,
I have a problem with parsing the results using Junit. I have two tasks in my build plan, first creates report.xml and second is a junit parser. The result of running a plan is:
"Could not find test result reports in the /home/bamboo/home/xml-data/build-dir/CLX-BUILD-TEST directory."
Logging via ssh to bamboo I can see a report.xml in a path shown above.
The plan has no remote agents.
Thanks in advance for helping me.
Community moderators have prevented the ability to post new answers.
Hi Magi,
1. Check the JUnit task configuration and confirm that you have configured it to look for the test results file in the current working directory of your job: /home/bamboo/home/xml-data/build-dir/CLX-BUILD-TEST, not in a subdirectory like: /home/bamboo/home/xml-data/build-dir/CLX-BUILD-TEST/test-reports.
2. Check the permissions of the report.xml file and make sure that the user, which runs your Bamboo instance has access to that file.
3. Which version of Bamboo are you using? Check if using a 'touch' command right before the JUnit task makes any difference for you (as it is discussed here).
Cheers,
Armen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.