Can Junit Parser collect multiple test results in the same directory?

I have a bamboo plan and have Junit Parser as one of the tasks for its run.

My tests generate multiple test results and they are all placed in the same directory. For example I have these under the working sub directory:

  • tests/foo.xml
  • tests/foolib.xml
  • tests/fooutil.xml

In the JUnit Parser, I put test/* for the custom results directories. When I run, I only get results from the last file, which is fooutil.xml. Is this expected? Does bamboo only pick up one test results file per directory?

This is bamboo 3.3.2 build 2718.


1 answer

I think you have to use ant-style regexp:

So, looking at your example I'd guess you have to specify "test/**" - double asterisk instead of single one.

edit: hm... after looking once again at the issue it seems to me that this shouldn't be relevant...

Thanks for answering. I really appreciate it. I will try your suggestions. All though, I may have found the reason for the test results from a file not being picked up by bamboo. I'll post another question for that.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

56 views 3 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you