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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,064 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot